All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.espertech.esper.rowregex.RegexNFAState Maven / Gradle / Ivy

Go to download

Complex event processing and event series analysis component

There is a newer version: 7.1.0
Show newest version
package com.espertech.esper.rowregex;

import com.espertech.esper.client.EventBean;
import com.espertech.esper.epl.expression.ExprEvaluatorContext;

import java.util.List;

/**
 * Match-recognize NFA states provides this information.
 */
public interface RegexNFAState
{
    /**
     * For multiple-quantifiers.
     * @return indicator
     */
    public boolean isMultiple();

    /**
     * Returns the nested node number.
     * @return num
     */
    public String getNodeNumNested();

    /**
     * Returns the absolute node num.
     * @return num
     */
    public int getNodeNumFlat();

    /**
     * Returns the variable name.
     * @return name
     */
    public String getVariableName();

    /**
     * Returns stream number.
     * @return stream num
     */
    public int getStreamNum();

    /**
     * Returns greedy indicator.
     * @return greedy indicator
     */
    public Boolean isGreedy();

    /**
     * Evaluate a match.
     * @param eventsPerStream variabele values
     * @param exprEvaluatorContext expression evaluation context
     * @return match indicator
     */
    public boolean matches(EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext);

    /**
     * Returns the next states.
     * @return states
     */
    public List getNextStates();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy