|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.rowregex.RegexPartitionState
public class RegexPartitionState
All current state holding partial NFA matches.
Constructor Summary | |
---|---|
RegexPartitionState(RegexPartitionStateRandomAccessGetter getter,
java.util.List<RegexNFAStateEntry> currentStates,
boolean hasInterval)
Ctor. |
|
RegexPartitionState(RegexPartitionStateRandomAccessGetter getter,
java.util.List<RegexNFAStateEntry> currentStates,
java.lang.Object optionalKeys,
boolean hasInterval)
Ctor. |
|
RegexPartitionState(RegexPartitionStateRandomAccessImpl randomAccess,
java.lang.Object optionalKeys,
boolean hasInterval)
Ctor. |
Method Summary | |
---|---|
void |
addCallbackItem(RegexNFAStateEntry endState)
Add a callback item for intervals. |
java.util.List<RegexNFAStateEntry> |
getCallbackItems()
Returns the interval states, if any. |
java.util.List<RegexNFAStateEntry> |
getCurrentStates()
Returns partial matches. |
java.lang.Integer |
getNumIntervalCallbackItems()
|
int |
getNumStates()
|
java.lang.Object |
getOptionalKeys()
Returns partition keys, if any. |
RegexPartitionStateRandomAccessImpl |
getRandomAccess()
Returns the random access for "prev". |
boolean |
isCallbackScheduled()
Returns indicator if callback is schedule. |
void |
removeEventFromPrev(EventBean oldEvent)
Remove an event from random access for "prev". |
void |
removeEventFromPrev(EventBean[] oldEvents)
Remove an event from random access for "prev". |
boolean |
removeEventFromState(EventBean oldEvent)
Remove an event from state. |
void |
setCallbackScheduled(boolean callbackScheduled)
Returns indicator if callback is schedule. |
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 RegexPartitionState(RegexPartitionStateRandomAccessImpl randomAccess, java.lang.Object optionalKeys, boolean hasInterval)
randomAccess
- for handling "prev" functions, if anyoptionalKeys
- keys for "partition", if anyhasInterval
- true if an interval is providedpublic RegexPartitionState(RegexPartitionStateRandomAccessGetter getter, java.util.List<RegexNFAStateEntry> currentStates, boolean hasInterval)
getter
- for "prev" accesscurrentStates
- existing statehasInterval
- true for intervalpublic RegexPartitionState(RegexPartitionStateRandomAccessGetter getter, java.util.List<RegexNFAStateEntry> currentStates, java.lang.Object optionalKeys, boolean hasInterval)
getter
- for "prev" accesscurrentStates
- existing stateoptionalKeys
- partition keys if anyhasInterval
- true for intervalMethod Detail |
---|
public RegexPartitionStateRandomAccessImpl getRandomAccess()
public java.util.List<RegexNFAStateEntry> getCurrentStates()
public void setCurrentStates(java.util.List<RegexNFAStateEntry> currentStates)
currentStates
- state to setpublic java.lang.Object getOptionalKeys()
public void removeEventFromPrev(EventBean[] oldEvents)
oldEvents
- to removepublic void removeEventFromPrev(EventBean oldEvent)
oldEvent
- to removepublic boolean removeEventFromState(EventBean oldEvent)
oldEvent
- to remove
public java.util.List<RegexNFAStateEntry> getCallbackItems()
public boolean isCallbackScheduled()
public void setCallbackScheduled(boolean callbackScheduled)
callbackScheduled
- true if scheduledpublic void addCallbackItem(RegexNFAStateEntry endState)
endState
- to addpublic int getNumStates()
public java.lang.Integer getNumIntervalCallbackItems()
|
© 2006-2015 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 |