Class RowRecogPartitionStateRepoScheduleStateImpl
java.lang.Object
com.espertech.esper.common.internal.epl.rowrecog.state.RowRecogPartitionStateRepoScheduleStateImpl
- All Implemented Interfaces:
RowRecogPartitionStateRepoScheduleState
public class RowRecogPartitionStateRepoScheduleStateImpl
extends Object
implements RowRecogPartitionStateRepoScheduleState
-
Constructor Summary
ConstructorsConstructorDescriptionRowRecogPartitionStateRepoScheduleStateImpl
(RowRecogPartitionTerminationStateComparator terminationStateCompare) -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(long matchBeginTime) boolean
findRemoveAddToList
(long matchBeginTime, RowRecogNFAStateEntry state, List<RowRecogNFAStateEntry> foundStates) Find and remove operation, wherein removed items are added to the found list, returning an indicator whether the item was found and removedlong
firstKey()
get
(long matchBeginTime) boolean
isEmpty()
boolean
putOrAdd
(long matchBeginTime, RowRecogNFAStateEntry state) Add entry returning true if the key did not exist.void
removeAddRemoved
(long matchBeginTime, List<RowRecogNFAStateEntry> foundStates)
-
Constructor Details
-
RowRecogPartitionStateRepoScheduleStateImpl
public RowRecogPartitionStateRepoScheduleStateImpl(RowRecogPartitionTerminationStateComparator terminationStateCompare)
-
-
Method Details
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceRowRecogPartitionStateRepoScheduleState
-
putOrAdd
Description copied from interface:RowRecogPartitionStateRepoScheduleState
Add entry returning true if the key did not exist.- Specified by:
putOrAdd
in interfaceRowRecogPartitionStateRepoScheduleState
- Parameters:
matchBeginTime
- keystate
- entry- Returns:
- indicator
-
get
-
firstKey
public long firstKey()- Specified by:
firstKey
in interfaceRowRecogPartitionStateRepoScheduleState
-
removeAddRemoved
- Specified by:
removeAddRemoved
in interfaceRowRecogPartitionStateRepoScheduleState
-
containsKey
public boolean containsKey(long matchBeginTime) - Specified by:
containsKey
in interfaceRowRecogPartitionStateRepoScheduleState
-
findRemoveAddToList
public boolean findRemoveAddToList(long matchBeginTime, RowRecogNFAStateEntry state, List<RowRecogNFAStateEntry> foundStates) Description copied from interface:RowRecogPartitionStateRepoScheduleState
Find and remove operation, wherein removed items are added to the found list, returning an indicator whether the item was found and removed- Specified by:
findRemoveAddToList
in interfaceRowRecogPartitionStateRepoScheduleState
- Parameters:
matchBeginTime
- keystate
- entryfoundStates
- list to be added to- Returns:
- indicator whether any item was found and removed
-