com.espertech.esper.rowregex
Class RegexNFAStateAnyOne

java.lang.Object
  extended by com.espertech.esper.rowregex.RegexNFAStateBase
      extended by com.espertech.esper.rowregex.RegexNFAStateAnyOne
All Implemented Interfaces:
RegexNFAState

public class RegexNFAStateAnyOne
extends RegexNFAStateBase
implements RegexNFAState

Any-quantifier.


Constructor Summary
RegexNFAStateAnyOne(java.lang.String nodeNum, java.lang.String variableName, int streamNum, boolean multiple)
          Ctor.
 
Method Summary
 boolean isExprRequiresMultimatchState()
          Whether or not the match-expression requires multimatch state
 boolean matches(EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext)
          Evaluate a match.
 java.lang.String toString()
           
 
Methods inherited from class com.espertech.esper.rowregex.RegexNFAStateBase
addState, getNextStates, getNodeNumFlat, getNodeNumNested, getStreamNum, getVariableName, isGreedy, isMultiple, setNodeNumFlat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.espertech.esper.rowregex.RegexNFAState
getNextStates, getNodeNumFlat, getNodeNumNested, getStreamNum, getVariableName, isGreedy, isMultiple
 

Constructor Detail

RegexNFAStateAnyOne

public RegexNFAStateAnyOne(java.lang.String nodeNum,
                           java.lang.String variableName,
                           int streamNum,
                           boolean multiple)
Ctor.

Parameters:
nodeNum - node num
variableName - variable
streamNum - stream num
multiple - indicator
Method Detail

matches

public boolean matches(EventBean[] eventsPerStream,
                       ExprEvaluatorContext exprEvaluatorContext)
Description copied from interface: RegexNFAState
Evaluate a match.

Specified by:
matches in interface RegexNFAState
Parameters:
eventsPerStream - variabele values
exprEvaluatorContext - expression evaluation context
Returns:
match indicator

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isExprRequiresMultimatchState

public boolean isExprRequiresMultimatchState()
Description copied from interface: RegexNFAState
Whether or not the match-expression requires multimatch state

Specified by:
isExprRequiresMultimatchState in interface RegexNFAState
Returns:
indicator

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com