|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.rowregex.RegexPartitionStateRandomAccessImpl
public class RegexPartitionStateRandomAccessImpl
"Prev" state for random access to event history.
Constructor Summary | |
---|---|
RegexPartitionStateRandomAccessImpl(RegexPartitionStateRandomAccessGetter getter)
Ctor. |
Method Summary | |
---|---|
void |
existingEventPrepare(EventBean newEvent)
Prepare relative to existing event, for iterating. |
EventBean |
getPreviousEvent(int assignedRelativeIndex)
Returns a previous event. |
boolean |
isEmpty()
Returns true for empty collection. |
void |
newEventPrepare(EventBean newEvent)
Add new event. |
void |
remove(EventBean oldEvent)
Remove event. |
void |
remove(EventBean[] oldEvents)
Remove events. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegexPartitionStateRandomAccessImpl(RegexPartitionStateRandomAccessGetter getter)
getter
- for accessMethod Detail |
---|
public void newEventPrepare(EventBean newEvent)
newEvent
- to addpublic void existingEventPrepare(EventBean newEvent)
newEvent
- to consider for indexpublic EventBean getPreviousEvent(int assignedRelativeIndex)
getPreviousEvent
in interface RegexPartitionStateRandomAccess
assignedRelativeIndex
- index
public void remove(EventBean[] oldEvents)
oldEvents
- to removepublic void remove(EventBean oldEvent)
oldEvent
- to removepublic boolean isEmpty()
|
© 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 |