public interface FindableProcessor
| Modifier and Type | Method and Description |
|---|---|
Finder |
constructFinder(org.wso2.siddhi.query.api.expression.Expression expression,
MatchingMetaStateHolder matchingMetaStateHolder,
ExecutionPlanContext executionPlanContext,
List<VariableExpressionExecutor> variableExpressionExecutors,
Map<String,EventTable> eventTableMap)
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,
Finder finder)
To find events from the processor event pool, that the matches the matchingEvent based on finder logic.
|
StreamEvent find(StateEvent matchingEvent, Finder finder)
matchingEvent - the event to be matched with the events at the processorfinder - the execution element responsible for finding the corresponding events that matches
the matchingEvent based on pool of events at ProcessorFinder constructFinder(org.wso2.siddhi.query.api.expression.Expression expression, MatchingMetaStateHolder matchingMetaStateHolder, ExecutionPlanContext executionPlanContext, List<VariableExpressionExecutor> variableExpressionExecutors, Map<String,EventTable> eventTableMap)
expression - the matching expressionmatchingMetaStateHolder - the meta structure of the incoming matchingEventexecutionPlanContext - current execution plan contextvariableExpressionExecutors - the list of variable ExpressionExecutors already createdeventTableMap - map of event tablesCopyright © 2018 WSO2. All Rights Reserved.