Class QuerySelector

  • All Implemented Interfaces:
    Processor

    public class QuerySelector
    extends Object
    implements Processor
    Processor implementation representing selector portion of the Siddhi query.
    • 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: Processor
        Process the handed StreamEvent
        Specified by:
        process in interface Processor
        Parameters:
        complexEventChunk - event chunk to be processed
      • process

        public void process​(List<ComplexEventChunk> complexEventChunks)
        Description copied from interface: Processor
        Process the handed StreamEvent
        Specified by:
        process in interface Processor
        Parameters:
        complexEventChunks - event chunks to be processed
      • getNextProcessor

        public Processor getNextProcessor()
        Description copied from interface: Processor
        Get next processor element in the processor chain. Processed event should be sent to next processor
        Specified by:
        getNextProcessor in interface Processor
        Returns:
        next processor
      • setNextProcessor

        public void setNextProcessor​(OutputRateLimiter outputRateLimiter)
      • setNextProcessor

        public void setNextProcessor​(Processor processor)
        Description copied from interface: Processor
        Set next processor element in processor chain
        Specified by:
        setNextProcessor in interface Processor
        Parameters:
        processor - Processor to be set as next element of processor chain
      • setToLast

        public void setToLast​(Processor processor)
        Description copied from interface: Processor
        Set as the last element of the processor chain
        Specified by:
        setToLast in interface Processor
        Parameters:
        processor - Last processor in the chain
      • 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)
      • setLimit

        public void setLimit​(long limit)
      • setOffset

        public void setOffset​(long offset)