S - current state of the processorpublic abstract class SlidingFindableWindowProcessor<S extends State> extends SlidingWindowProcessor<S> implements FindableProcessor
attributeExpressionExecutors, attributeExpressionLength, complexEventPopulater, inputDefinition, metaStreamEvent, nextProcessor, siddhiQueryContext, stateHolder, streamEventClonerHolder| Constructor and Description |
|---|
SlidingFindableWindowProcessor() |
| Modifier and Type | Method and Description |
|---|---|
CompiledCondition |
compileCondition(io.siddhi.query.api.expression.Expression condition,
MatchingMetaInfoHolder matchingMetaInfoHolder,
List<VariableExpressionExecutor> variableExpressionExecutors,
Map<String,Table> tableMap,
SiddhiQueryContext siddhiQueryContext)
To construct a finder having the capability of finding events at the processor that corresponds to the incoming
matchingEvent and the given matching expression logic.
|
abstract CompiledCondition |
compileCondition(io.siddhi.query.api.expression.Expression condition,
MatchingMetaInfoHolder matchingMetaInfoHolder,
List<VariableExpressionExecutor> variableExpressionExecutors,
Map<String,Table> tableMap,
S state,
SiddhiQueryContext siddhiQueryContext)
To construct a finder having the capability of finding events at the processor that corresponds to the incoming
matchingEvent and the given matching expression logic.
|
StreamEvent |
find(StateEvent matchingEvent,
CompiledCondition compiledCondition)
To find events from the processor event pool, that the matches the matchingEvent based on finder logic.
|
abstract StreamEvent |
find(StateEvent matchingEvent,
CompiledCondition compiledCondition,
StreamEventCloner streamEventCloner,
S state)
To find events from the processor event pool, that the matches the matchingEvent based on finder logic.
|
getProcessingMode, init, init, process, processEventChunkgetReturnAttributesconstructStreamEventPopulater, getNextProcessor, initProcessor, process, setNextProcessor, setStreamEventCloner, setToLastclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstart, stoppublic CompiledCondition compileCondition(io.siddhi.query.api.expression.Expression condition, MatchingMetaInfoHolder matchingMetaInfoHolder, List<VariableExpressionExecutor> variableExpressionExecutors, Map<String,Table> tableMap, SiddhiQueryContext siddhiQueryContext)
FindableProcessorcompileCondition in interface FindableProcessorcondition - the matching conditionmatchingMetaInfoHolder - the meta structure of the incoming matchingEventvariableExpressionExecutors - the list of variable ExpressionExecutors already createdtableMap - map of event tablessiddhiQueryContext - current siddhi query contextpublic StreamEvent find(StateEvent matchingEvent, CompiledCondition compiledCondition)
FindableProcessorfind in interface FindableProcessormatchingEvent - the event to be matched with the events at the processorcompiledCondition - the execution element responsible for matching the corresponding events that matches
the matchingEvent based on pool of events at Processorpublic abstract CompiledCondition compileCondition(io.siddhi.query.api.expression.Expression condition, MatchingMetaInfoHolder matchingMetaInfoHolder, List<VariableExpressionExecutor> variableExpressionExecutors, Map<String,Table> tableMap, S state, SiddhiQueryContext siddhiQueryContext)
condition - the matching conditionmatchingMetaInfoHolder - the meta structure of the incoming matchingEventvariableExpressionExecutors - the list of variable ExpressionExecutors already createdtableMap - map of event tablesstate - current query statesiddhiQueryContext - current siddhi query contextpublic abstract StreamEvent find(StateEvent matchingEvent, CompiledCondition compiledCondition, StreamEventCloner streamEventCloner, S state)
matchingEvent - the event to be matched with the events at the processorcompiledCondition - the execution element responsible for matching the corresponding events that matches
the matchingEvent based on pool of events at ProcessorstreamEventCloner - stream event clonerstate - current query state @return the matched eventsCopyright © 2019. All rights reserved.