public class CountPreStateProcessor extends StreamPreStateProcessor
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
successCondition |
currentStateEventChunk, elementId, isStartState, lock, newAndEveryStateEventList, nextProcessor, pendingStateEventList, queryName, siddhiAppContext, startStateIds, stateChanged, stateEventCloner, stateEventPool, stateId, stateType, streamEventCloner, streamEventPool, thisLastProcessor, thisStatePostProcessor, withinEveryPreStateProcessor, withinTime| Constructor and Description |
|---|
CountPreStateProcessor(int minCount,
int maxCount,
org.wso2.siddhi.query.api.execution.query.input.stream.StateInputStream.Type stateType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addState(StateEvent stateEvent) |
PreStateProcessor |
cloneProcessor(String key)
Clone a copy of processor
|
CountPostStateProcessor |
getCountPostStateProcessor() |
ComplexEventChunk<StateEvent> |
processAndReturn(ComplexEventChunk complexEventChunk) |
void |
setCountPostStateProcessor(CountPostStateProcessor countPostStateProcessor) |
void |
startStateReset() |
void |
successCondition() |
void |
updateState() |
addEveryState, clean, cloneProperties, currentState, getElementId, getNextProcessor, getStateId, getThisLastProcessor, getThisStatePostProcessor, init, init, isExpired, isStartState, process, process, removeOnNoStateChange, resetState, restoreState, setNextProcessor, setStartState, setStartStateIds, setStateEventCloner, setStateEventPool, setStateId, setStreamEventCloner, setStreamEventPool, setThisLastProcessor, setThisStatePostProcessor, setToLast, setWithinEveryPreStateProcessor, setWithinTime, stateChangedpublic CountPreStateProcessor(int minCount,
int maxCount,
org.wso2.siddhi.query.api.execution.query.input.stream.StateInputStream.Type stateType)
public PreStateProcessor cloneProcessor(String key)
StreamPreStateProcessorcloneProcessor in interface PreStateProcessorcloneProcessor in interface ProcessorcloneProcessor in class StreamPreStateProcessorkey - partition keypublic ComplexEventChunk<StateEvent> processAndReturn(ComplexEventChunk complexEventChunk)
processAndReturn in interface PreStateProcessorprocessAndReturn in class StreamPreStateProcessorpublic void successCondition()
public void addState(StateEvent stateEvent)
addState in interface PreStateProcessoraddState in class StreamPreStateProcessorpublic CountPostStateProcessor getCountPostStateProcessor()
public void setCountPostStateProcessor(CountPostStateProcessor countPostStateProcessor)
public void startStateReset()
public void updateState()
updateState in interface PreStateProcessorupdateState in class StreamPreStateProcessorCopyright © 2019 WSO2. All rights reserved.