Interface PreStateProcessor
-
- All Superinterfaces:
Processor
- All Known Implementing Classes:
AbsentLogicalPreStateProcessor,AbsentStreamPreStateProcessor,CountPreStateProcessor,LogicalPreStateProcessor,StreamPreStateProcessor
public interface PreStateProcessor extends Processor
Created on 12/17/14.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddEveryState(StateEvent stateEvent)voidaddState(StateEvent stateEvent)voidexpireEvents(long timestamp)intgetStateId()StreamPostStateProcessorgetThisStatePostProcessor()voidinit()booleanisStartState()ComplexEventChunkprocessAndReturn(ComplexEventChunk complexEventChunk)voidresetState()voidsetStartState(boolean isStartState)voidsetStartStateIds(int[] stateIds)voidsetStateId(int stateId)voidsetWithinEveryPreStateProcessor(PreStateProcessor withinEveryPreStateProcessor)voidsetWithinTime(long withinTime)voidupdateState()-
Methods inherited from interface io.siddhi.core.query.processor.Processor
getNextProcessor, process, process, setNextProcessor, setToLast
-
-
-
-
Method Detail
-
addState
void addState(StateEvent stateEvent)
-
addEveryState
void addEveryState(StateEvent stateEvent)
-
processAndReturn
ComplexEventChunk processAndReturn(ComplexEventChunk complexEventChunk)
-
getStateId
int getStateId()
-
setStateId
void setStateId(int stateId)
-
init
void init()
-
isStartState
boolean isStartState()
-
setStartState
void setStartState(boolean isStartState)
-
setWithinEveryPreStateProcessor
void setWithinEveryPreStateProcessor(PreStateProcessor withinEveryPreStateProcessor)
-
updateState
void updateState()
-
expireEvents
void expireEvents(long timestamp)
-
getThisStatePostProcessor
StreamPostStateProcessor getThisStatePostProcessor()
-
resetState
void resetState()
-
setWithinTime
void setWithinTime(long withinTime)
-
setStartStateIds
void setStartStateIds(int[] stateIds)
-
-