|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.rowregex.RegexPartitionStateRepoNoGroup
public class RegexPartitionStateRepoNoGroup
State for when no partitions (single partition) is required.
Constructor Summary | |
---|---|
RegexPartitionStateRepoNoGroup(RegexPartitionStateImpl singletonState)
Ctor. |
|
RegexPartitionStateRepoNoGroup(RegexPartitionStateRandomAccessGetter getter,
boolean keepScheduleState,
RegexPartitionTerminationStateComparator terminationStateCompare)
Ctor. |
Method Summary | |
---|---|
void |
accept(EventRowRegexNFAViewServiceVisitor visitor)
|
RegexPartitionStateRepo |
copyForIterate(boolean forOutOfOrderReprocessing)
Copy state for iteration. |
void |
destroy()
|
RegexPartitionStateRepoScheduleState |
getScheduleState()
|
RegexPartitionState |
getState(EventBean theEvent,
boolean collect)
Return state for event or create state if not found. |
RegexPartitionState |
getState(java.lang.Object key)
Return state for key or create state if not found. |
int |
getStateCount()
|
int |
incrementAndGetEventSequenceNum()
|
boolean |
isPartitioned()
|
int |
removeOld(EventBean[] oldEvents,
boolean isEmpty,
boolean[] found)
Remove old events from the state, applicable for "prev" function and partial NFA state. |
void |
removeState(java.lang.Object partitionKey)
|
void |
setEventSequenceNum(int num)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegexPartitionStateRepoNoGroup(RegexPartitionStateImpl singletonState)
singletonState
- statepublic RegexPartitionStateRepoNoGroup(RegexPartitionStateRandomAccessGetter getter, boolean keepScheduleState, RegexPartitionTerminationStateComparator terminationStateCompare)
getter
- "prev" getterMethod Detail |
---|
public int incrementAndGetEventSequenceNum()
incrementAndGetEventSequenceNum
in interface RegexPartitionStateRepo
public void setEventSequenceNum(int num)
setEventSequenceNum
in interface RegexPartitionStateRepo
public RegexPartitionStateRepoScheduleState getScheduleState()
getScheduleState
in interface RegexPartitionStateRepo
public void removeState(java.lang.Object partitionKey)
removeState
in interface RegexPartitionStateRepo
public RegexPartitionStateRepo copyForIterate(boolean forOutOfOrderReprocessing)
copyForIterate
in interface RegexPartitionStateRepo
public int removeOld(EventBean[] oldEvents, boolean isEmpty, boolean[] found)
RegexPartitionStateRepo
removeOld
in interface RegexPartitionStateRepo
oldEvents
- to removeisEmpty
- indicator if there are not matchesfound
- indicator if any partial matches exist to be deletedpublic RegexPartitionState getState(EventBean theEvent, boolean collect)
RegexPartitionStateRepo
getState
in interface RegexPartitionStateRepo
theEvent
- to look upcollect
- true if a collection of unused state can occur
public RegexPartitionState getState(java.lang.Object key)
RegexPartitionStateRepo
getState
in interface RegexPartitionStateRepo
key
- to look up
public void accept(EventRowRegexNFAViewServiceVisitor visitor)
accept
in interface RegexPartitionStateRepo
public boolean isPartitioned()
isPartitioned
in interface RegexPartitionStateRepo
public int getStateCount()
getStateCount
in interface RegexPartitionStateRepo
public void destroy()
destroy
in interface RegexPartitionStateRepo
|
© 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 |