public class CountPreStateProcessor extends StreamPreStateProcessor
eventTimeComparator, isStartState, lock, nextProcessor, siddhiQueryContext, startStateIds, stateEventCloner, stateEventFactory, stateHolder, stateId, stateType, streamEventCloner, streamEventFactory, thisLastProcessor, thisStatePostProcessor, withinEveryPreStateProcessor, withinTime| Constructor and Description |
|---|
CountPreStateProcessor(int minCount,
int maxCount,
io.siddhi.query.api.execution.query.input.stream.StateInputStream.Type stateType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEveryState(StateEvent stateEvent) |
protected void |
addState(StateEvent stateEvent,
io.siddhi.core.query.input.stream.state.StreamPreStateProcessor.StreamPreState state) |
CountPostStateProcessor |
getCountPostStateProcessor() |
void |
init(SiddhiQueryContext siddhiQueryContext) |
ComplexEventChunk<StateEvent> |
processAndReturn(ComplexEventChunk complexEventChunk) |
void |
setCountPostStateProcessor(CountPostStateProcessor countPostStateProcessor) |
void |
startStateReset() |
void |
successCondition() |
void |
updateState() |
addState, expireEvents, getNextProcessor, getPendingStateEventList, getStateId, getThisLastProcessor, getThisStatePostProcessor, init, isExpired, isStartState, process, process, removeOnNoStateChange, resetState, setNextProcessor, setStartState, setStartStateIds, setStateEventCloner, setStateEventFactory, setStateId, setStreamEventCloner, setStreamEventFactory, setThisLastProcessor, setThisStatePostProcessor, setToLast, setWithinEveryPreStateProcessor, setWithinTime, stateChangedpublic CountPreStateProcessor(int minCount,
int maxCount,
io.siddhi.query.api.execution.query.input.stream.StateInputStream.Type stateType)
public void init(SiddhiQueryContext siddhiQueryContext)
init in class StreamPreStateProcessorpublic ComplexEventChunk<StateEvent> processAndReturn(ComplexEventChunk complexEventChunk)
processAndReturn in interface PreStateProcessorprocessAndReturn in class StreamPreStateProcessorpublic void successCondition()
protected void addState(StateEvent stateEvent, io.siddhi.core.query.input.stream.state.StreamPreStateProcessor.StreamPreState state)
addState in class StreamPreStateProcessorpublic void addEveryState(StateEvent stateEvent)
addEveryState in interface PreStateProcessoraddEveryState in class StreamPreStateProcessorpublic CountPostStateProcessor getCountPostStateProcessor()
public void setCountPostStateProcessor(CountPostStateProcessor countPostStateProcessor)
public void startStateReset()
public void updateState()
updateState in interface PreStateProcessorupdateState in class StreamPreStateProcessorCopyright © 2019. All rights reserved.