Package io.siddhi.core.query.selector
Class QuerySelector
- java.lang.Object
-
- io.siddhi.core.query.selector.QuerySelector
-
-
Constructor Summary
Constructors Constructor Description QuerySelector(String id, io.siddhi.query.api.execution.query.selection.Selector selector, boolean currentOn, boolean expiredOn, SiddhiQueryContext siddhiQueryContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComplexEventChunkexecute(ComplexEventChunk complexEventChunk)List<AttributeProcessor>getAttributeProcessorList()ProcessorgetNextProcessor()Get next processor element in the processor chain.voidprocess(ComplexEventChunk complexEventChunk)Process the handed StreamEventvoidprocess(List<ComplexEventChunk> complexEventChunks)Process the handed StreamEventvoidsetAttributeProcessorList(List<AttributeProcessor> attributeProcessorList, boolean containsAggregator)voidsetBatchingEnabled(boolean batchingEnabled)voidsetEventPopulator(StateEventPopulator eventPopulator)voidsetGroupByKeyGenerator(GroupByKeyGenerator groupByKeyGenerator)voidsetHavingConditionExecutor(ConditionExpressionExecutor havingConditionExecutor, boolean containsAggregator)voidsetLimit(long limit)voidsetNextProcessor(OutputRateLimiter outputRateLimiter)voidsetNextProcessor(Processor processor)Set next processor element in processor chainvoidsetOffset(long offset)voidsetOrderByEventComparator(OrderByEventComparator orderByEventComparator)voidsetToLast(Processor processor)Set as the last element of the processor chain
-
-
-
Constructor Detail
-
QuerySelector
public QuerySelector(String id, io.siddhi.query.api.execution.query.selection.Selector selector, boolean currentOn, boolean expiredOn, SiddhiQueryContext siddhiQueryContext)
-
-
Method Detail
-
process
public void process(ComplexEventChunk complexEventChunk)
Description copied from interface:ProcessorProcess the handed StreamEvent
-
process
public void process(List<ComplexEventChunk> complexEventChunks)
Description copied from interface:ProcessorProcess the handed StreamEvent
-
execute
public ComplexEventChunk execute(ComplexEventChunk complexEventChunk)
-
getNextProcessor
public Processor getNextProcessor()
Description copied from interface:ProcessorGet next processor element in the processor chain. Processed event should be sent to next processor- Specified by:
getNextProcessorin interfaceProcessor- Returns:
- next processor
-
setNextProcessor
public void setNextProcessor(OutputRateLimiter outputRateLimiter)
-
setNextProcessor
public void setNextProcessor(Processor processor)
Description copied from interface:ProcessorSet next processor element in processor chain- Specified by:
setNextProcessorin interfaceProcessor- Parameters:
processor- Processor to be set as next element of processor chain
-
setToLast
public void setToLast(Processor processor)
Description copied from interface:ProcessorSet as the last element of the processor chain
-
getAttributeProcessorList
public List<AttributeProcessor> getAttributeProcessorList()
-
setAttributeProcessorList
public void setAttributeProcessorList(List<AttributeProcessor> attributeProcessorList, boolean containsAggregator)
-
setGroupByKeyGenerator
public void setGroupByKeyGenerator(GroupByKeyGenerator groupByKeyGenerator)
-
setOrderByEventComparator
public void setOrderByEventComparator(OrderByEventComparator orderByEventComparator)
-
setHavingConditionExecutor
public void setHavingConditionExecutor(ConditionExpressionExecutor havingConditionExecutor, boolean containsAggregator)
-
setBatchingEnabled
public void setBatchingEnabled(boolean batchingEnabled)
-
setEventPopulator
public void setEventPopulator(StateEventPopulator eventPopulator)
-
setLimit
public void setLimit(long limit)
-
setOffset
public void setOffset(long offset)
-
-