Package io.siddhi.core.util.parser
Class SelectorParser
- java.lang.Object
-
- io.siddhi.core.util.parser.SelectorParser
-
public class SelectorParser extends Object
Class to parseQuerySelector.
-
-
Constructor Summary
Constructors Constructor Description SelectorParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ThreadLocal<String>getContainsAggregatorThreadLocal()static QuerySelectorparse(io.siddhi.query.api.execution.query.selection.Selector selector, io.siddhi.query.api.execution.query.output.stream.OutputStream outputStream, MetaComplexEvent metaComplexEvent, Map<String,Table> tableMap, List<VariableExpressionExecutor> variableExpressionExecutors, int metaPosition, ProcessingMode processingMode, boolean outputExpectsExpiredEvents, SiddhiQueryContext siddhiQueryContext)Parse Selector portion of a query and return corresponding QuerySelector.
-
-
-
Method Detail
-
parse
public static QuerySelector parse(io.siddhi.query.api.execution.query.selection.Selector selector, io.siddhi.query.api.execution.query.output.stream.OutputStream outputStream, MetaComplexEvent metaComplexEvent, Map<String,Table> tableMap, List<VariableExpressionExecutor> variableExpressionExecutors, int metaPosition, ProcessingMode processingMode, boolean outputExpectsExpiredEvents, SiddhiQueryContext siddhiQueryContext)
Parse Selector portion of a query and return corresponding QuerySelector.- Parameters:
selector- selector to be parsedoutputStream- output streammetaComplexEvent- Meta event used to collect execution info of stream associated with querytableMap- Table MapvariableExpressionExecutors- variable expression executorsmetaPosition- helps to identify the meta position of aggregatesprocessingMode- processing mode of the queryoutputExpectsExpiredEvents- is expired events sent as outputsiddhiQueryContext- current siddhi query context- Returns:
- QuerySelector
-
getContainsAggregatorThreadLocal
public static ThreadLocal<String> getContainsAggregatorThreadLocal()
-
-