public interface QueryableProcessor extends FindableProcessor
| Modifier and Type | Method and Description |
|---|---|
CompiledSelection |
compileSelection(org.wso2.siddhi.query.api.execution.query.selection.Selector selector,
List<org.wso2.siddhi.query.api.definition.Attribute> expectedOutputAttributes,
MatchingMetaInfoHolder matchingMetaInfoHolder,
SiddhiAppContext siddhiAppContext,
List<VariableExpressionExecutor> variableExpressionExecutors,
Map<String,Table> tableMap,
String queryName)
To construct a selection having the capability of transforming events based on given selection logic.
|
StreamEvent |
query(StateEvent matchingEvent,
CompiledCondition compiledCondition,
CompiledSelection compiledSelection)
Deprecated.
|
StreamEvent |
query(StateEvent matchingEvent,
CompiledCondition compiledCondition,
CompiledSelection compiledSelection,
org.wso2.siddhi.query.api.definition.Attribute[] outputAttributes)
To find events from the processor event pool, that the matches the matchingEvent based on finder logic and
return them based on the defined selection.
|
compileCondition, findStreamEvent query(StateEvent matchingEvent, CompiledCondition compiledCondition, CompiledSelection compiledSelection, org.wso2.siddhi.query.api.definition.Attribute[] outputAttributes) throws ConnectionUnavailableException
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 ProcessorcompiledSelection - the execution element responsible for transforming the corresponding events to the
given selectionoutputAttributes - the output attributes specified in the query.ConnectionUnavailableException@Deprecated StreamEvent query(StateEvent matchingEvent, CompiledCondition compiledCondition, CompiledSelection compiledSelection) throws ConnectionUnavailableException
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 ProcessorcompiledSelection - the execution element responsible for transforming the corresponding events to the
given selectionConnectionUnavailableExceptionCompiledSelection compileSelection(org.wso2.siddhi.query.api.execution.query.selection.Selector selector, List<org.wso2.siddhi.query.api.definition.Attribute> expectedOutputAttributes, MatchingMetaInfoHolder matchingMetaInfoHolder, SiddhiAppContext siddhiAppContext, List<VariableExpressionExecutor> variableExpressionExecutors, Map<String,Table> tableMap, String queryName)
selector - the query selectorexpectedOutputAttributes - matchingMetaInfoHolder - the meta structure of the incoming matchingEventsiddhiAppContext - current siddhi app contextvariableExpressionExecutors - the list of variable ExpressionExecutors already createdtableMap - map of event tablesqueryName - query name of findable processor belongs to.Copyright © 2018 WSO2. All rights reserved.