|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.rowregex.RegexPartitionStateImpl
public class RegexPartitionStateImpl
All current state holding partial NFA matches.
Constructor Summary | |
---|---|
RegexPartitionStateImpl(RegexPartitionStateRandomAccessGetter getter,
java.util.List<RegexNFAStateEntry> currentStates)
Ctor. |
|
RegexPartitionStateImpl(RegexPartitionStateRandomAccessGetter getter,
java.util.List<RegexNFAStateEntry> currentStates,
java.lang.Object optionalKeys)
Ctor. |
|
RegexPartitionStateImpl(RegexPartitionStateRandomAccess randomAccess,
java.lang.Object optionalKeys)
Ctor. |
Method Summary | |
---|---|
void |
clearCurrentStates()
|
java.util.List<RegexNFAStateEntry> |
getCurrentStatesForPrint()
|
java.util.Iterator<RegexNFAStateEntry> |
getCurrentStatesIterator()
Returns partial matches. |
int |
getNumStates()
|
java.lang.Object |
getOptionalKeys()
Returns partition keys, if any. |
RegexPartitionStateRandomAccess |
getRandomAccess()
Returns the random access for "prev". |
boolean |
isEmptyCurrentState()
|
void |
removeEventFromPrev(EventBean oldEvent)
Remove an event from random access for "prev". |
void |
removeEventFromPrev(EventBean[] oldEvents)
Remove an event from random access for "prev". |
int |
removeEventFromState(EventBean oldEvent)
Remove an event from state. |
static java.util.List<RegexNFAStateEntry> |
removeEventFromState(EventBean oldEvent,
java.util.Iterator<RegexNFAStateEntry> states)
|
void |
setCurrentStates(java.util.List<RegexNFAStateEntry> currentStates)
Sets partial matches. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegexPartitionStateImpl(RegexPartitionStateRandomAccess randomAccess, java.lang.Object optionalKeys)
randomAccess
- for handling "prev" functions, if anyoptionalKeys
- keys for "partition", if anypublic RegexPartitionStateImpl(RegexPartitionStateRandomAccessGetter getter, java.util.List<RegexNFAStateEntry> currentStates)
getter
- for "prev" accesscurrentStates
- existing statepublic RegexPartitionStateImpl(RegexPartitionStateRandomAccessGetter getter, java.util.List<RegexNFAStateEntry> currentStates, java.lang.Object optionalKeys)
getter
- for "prev" accesscurrentStates
- existing stateoptionalKeys
- partition keys if anyMethod Detail |
---|
public RegexPartitionStateRandomAccess getRandomAccess()
getRandomAccess
in interface RegexPartitionState
public java.util.Iterator<RegexNFAStateEntry> getCurrentStatesIterator()
getCurrentStatesIterator
in interface RegexPartitionState
public void setCurrentStates(java.util.List<RegexNFAStateEntry> currentStates)
setCurrentStates
in interface RegexPartitionState
currentStates
- state to setpublic java.lang.Object getOptionalKeys()
getOptionalKeys
in interface RegexPartitionState
public void removeEventFromPrev(EventBean[] oldEvents)
oldEvents
- to removepublic void removeEventFromPrev(EventBean oldEvent)
oldEvent
- to removepublic int removeEventFromState(EventBean oldEvent)
oldEvent
- to remove
public int getNumStates()
getNumStates
in interface RegexPartitionState
public void clearCurrentStates()
public java.util.List<RegexNFAStateEntry> getCurrentStatesForPrint()
getCurrentStatesForPrint
in interface RegexPartitionState
public boolean isEmptyCurrentState()
isEmptyCurrentState
in interface RegexPartitionState
public static java.util.List<RegexNFAStateEntry> removeEventFromState(EventBean oldEvent, java.util.Iterator<RegexNFAStateEntry> states)
|
© 2006-2016 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |