public class RegexNFAStateEntry extends Object
Constructor and Description |
---|
RegexNFAStateEntry(int matchBeginEventSeqNo,
long matchBeginEventTime,
RegexNFAState state,
EventBean[] eventsPerStream,
int[] greedycountPerState,
MultimatchState[] optionalMultiMatches,
Object partitionKey)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
EventBean[] |
getEventsPerStream()
Returns the single-variable matches.
|
int[] |
getGreedycountPerState()
Returns the count of greedy matches per state.
|
int |
getMatchBeginEventSeqNo()
Returns the event number of the first matching event.
|
long |
getMatchBeginEventTime()
Returns the time of the first matching event.
|
int |
getMatchEndEventSeqNo()
Returns the match end event number.
|
MultimatchState[] |
getOptionalMultiMatches()
Returns the multirow-variable matches, if any.
|
Object |
getPartitionKey()
Returns the partition key.
|
RegexNFAState |
getState()
Returns the partial matches.
|
void |
setMatchEndEventSeqNo(int matchEndEventSeqNo)
Sets the match end event number.
|
void |
setState(RegexNFAState state) |
String |
toString() |
public RegexNFAStateEntry(int matchBeginEventSeqNo, long matchBeginEventTime, RegexNFAState state, EventBean[] eventsPerStream, int[] greedycountPerState, MultimatchState[] optionalMultiMatches, Object partitionKey)
matchBeginEventSeqNo
- the event number where the match startedmatchBeginEventTime
- the time the first match occuredstate
- the current match stateeventsPerStream
- events for each single-match variablegreedycountPerState
- number of greedy matches over all variablesoptionalMultiMatches
- matches for multirow-variablespartitionKey
- key of partitionpublic int getMatchBeginEventSeqNo()
public long getMatchBeginEventTime()
public RegexNFAState getState()
public EventBean[] getEventsPerStream()
public MultimatchState[] getOptionalMultiMatches()
public int[] getGreedycountPerState()
public void setMatchEndEventSeqNo(int matchEndEventSeqNo)
matchEndEventSeqNo
- match end event numpublic int getMatchEndEventSeqNo()
public Object getPartitionKey()
public void setState(RegexNFAState state)