public class InputStreamParser extends Object
InputStream| Constructor and Description |
|---|
InputStreamParser() |
| Modifier and Type | Method and Description |
|---|---|
static StreamRuntime |
parse(org.wso2.siddhi.query.api.execution.query.input.stream.InputStream inputStream,
SiddhiAppContext siddhiAppContext,
Map<String,org.wso2.siddhi.query.api.definition.AbstractDefinition> streamDefinitionMap,
Map<String,org.wso2.siddhi.query.api.definition.AbstractDefinition> tableDefinitionMap,
Map<String,org.wso2.siddhi.query.api.definition.AbstractDefinition> windowDefinitionMap,
Map<String,org.wso2.siddhi.query.api.definition.AbstractDefinition> aggregationDefinitionMap,
Map<String,Table> tableMap,
Map<String,Window> windowMap,
Map<String,AggregationRuntime> aggregationMap,
List<VariableExpressionExecutor> executors,
LatencyTracker latencyTracker,
boolean outputExpectsExpiredEvents,
String queryName)
Parse an InputStream returning corresponding StreamRuntime
|
public static StreamRuntime parse(org.wso2.siddhi.query.api.execution.query.input.stream.InputStream inputStream, SiddhiAppContext siddhiAppContext, Map<String,org.wso2.siddhi.query.api.definition.AbstractDefinition> streamDefinitionMap, Map<String,org.wso2.siddhi.query.api.definition.AbstractDefinition> tableDefinitionMap, Map<String,org.wso2.siddhi.query.api.definition.AbstractDefinition> windowDefinitionMap, Map<String,org.wso2.siddhi.query.api.definition.AbstractDefinition> aggregationDefinitionMap, Map<String,Table> tableMap, Map<String,Window> windowMap, Map<String,AggregationRuntime> aggregationMap, List<VariableExpressionExecutor> executors, LatencyTracker latencyTracker, boolean outputExpectsExpiredEvents, String queryName)
inputStream - input stream to be parsedsiddhiAppContext - associated siddhi siddhiAppContextstreamDefinitionMap - map containing user given stream definitionstableDefinitionMap - table definition mapwindowDefinitionMap - window definition mapaggregationDefinitionMap - aggregation definition maptableMap - Table MapwindowMap - event window mapaggregationMap - aggregator mapexecutors - List to hold VariableExpressionExecutors to update after query parsinglatencyTracker - latency trackeroutputExpectsExpiredEvents - is output expects ExpiredEventsqueryName - query name of input stream belongs to.Copyright © 2017 WSO2. All rights reserved.