|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.rowregex.RegexPartitionStateRepoGroup
public class RegexPartitionStateRepoGroup
Partition-by implementation for partition state.
Field Summary | |
---|---|
static int |
INITIAL_COLLECTION_MIN
Empty state collection initial threshold. |
Constructor Summary | |
---|---|
RegexPartitionStateRepoGroup(RegexPartitionStateRandomAccessGetter getter,
ExprEvaluator[] partitionExpressions,
boolean hasInterval,
ExprEvaluatorContext exprEvaluatorContext)
Ctor. |
Method Summary | |
---|---|
RegexPartitionStateRepo |
copyForIterate()
Copy state for iteration. |
RegexPartitionState |
getState(EventBean theEvent,
boolean isCollect)
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. |
void |
removeOld(EventBean[] oldData,
boolean isEmpty,
boolean[] found)
Remove old events from the state, applicable for "prev" function and partial NFA state. |
void |
removeState(java.lang.Object partitionKey)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int INITIAL_COLLECTION_MIN
Constructor Detail |
---|
public RegexPartitionStateRepoGroup(RegexPartitionStateRandomAccessGetter getter, ExprEvaluator[] partitionExpressions, boolean hasInterval, ExprEvaluatorContext exprEvaluatorContext)
getter
- for "prev" function accesspartitionExpressions
- expressions for computing group keyhasInterval
- true for intervalexprEvaluatorContext
- context for evaluating expressionsMethod Detail |
---|
public void removeState(java.lang.Object partitionKey)
removeState
in interface RegexPartitionStateRepo
public RegexPartitionStateRepo copyForIterate()
RegexPartitionStateRepo
copyForIterate
in interface RegexPartitionStateRepo
public void removeOld(EventBean[] oldData, boolean isEmpty, boolean[] found)
RegexPartitionStateRepo
removeOld
in interface RegexPartitionStateRepo
oldData
- to removeisEmpty
- indicator if there are not matchesfound
- indicator if any partial matches exist to be deletedpublic RegexPartitionState getState(java.lang.Object key)
RegexPartitionStateRepo
getState
in interface RegexPartitionStateRepo
key
- to look up
public RegexPartitionState getState(EventBean theEvent, boolean isCollect)
RegexPartitionStateRepo
getState
in interface RegexPartitionStateRepo
theEvent
- to look upisCollect
- true if a collection of unused state can occur
|
© 2006-2011 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 |