Class MaxAttributeAggregatorExecutor

    • Constructor Detail

      • MaxAttributeAggregatorExecutor

        public MaxAttributeAggregatorExecutor()
    • Method Detail

      • init

        protected StateFactory<io.siddhi.core.query.selector.attribute.aggregator.MaxAttributeAggregatorExecutor.MaxAggregatorState> init​(ExpressionExecutor[] attributeExpressionExecutors,
                                                                                                                                          ProcessingMode processingMode,
                                                                                                                                          boolean outputExpectsExpiredEvents,
                                                                                                                                          ConfigReader configReader,
                                                                                                                                          SiddhiQueryContext siddhiQueryContext)
        The initialization method for FunctionExecutor
        Specified by:
        init in class AttributeAggregatorExecutor<io.siddhi.core.query.selector.attribute.aggregator.MaxAttributeAggregatorExecutor.MaxAggregatorState>
        Parameters:
        attributeExpressionExecutors - are the executors of each attributes in the function
        processingMode - query processing mode
        outputExpectsExpiredEvents - is expired events sent as output
        configReader - this hold the MaxAttributeAggregatorExecutor configuration reader.
        siddhiQueryContext - Siddhi query runtime context
      • getReturnType

        public io.siddhi.query.api.definition.Attribute.Type getReturnType()
      • getAttributeExpressionExecutor

        public ExpressionExecutor getAttributeExpressionExecutor()
      • processAdd

        public Object processAdd​(Object data,
                                 io.siddhi.core.query.selector.attribute.aggregator.MaxAttributeAggregatorExecutor.MaxAggregatorState state)
        Specified by:
        processAdd in class AttributeAggregatorExecutor<io.siddhi.core.query.selector.attribute.aggregator.MaxAttributeAggregatorExecutor.MaxAggregatorState>
      • processAdd

        public Object processAdd​(Object[] data,
                                 io.siddhi.core.query.selector.attribute.aggregator.MaxAttributeAggregatorExecutor.MaxAggregatorState state)
        Specified by:
        processAdd in class AttributeAggregatorExecutor<io.siddhi.core.query.selector.attribute.aggregator.MaxAttributeAggregatorExecutor.MaxAggregatorState>
      • processRemove

        public Object processRemove​(Object data,
                                    io.siddhi.core.query.selector.attribute.aggregator.MaxAttributeAggregatorExecutor.MaxAggregatorState state)
        Specified by:
        processRemove in class AttributeAggregatorExecutor<io.siddhi.core.query.selector.attribute.aggregator.MaxAttributeAggregatorExecutor.MaxAggregatorState>
      • processRemove

        public Object processRemove​(Object[] data,
                                    io.siddhi.core.query.selector.attribute.aggregator.MaxAttributeAggregatorExecutor.MaxAggregatorState state)
        Specified by:
        processRemove in class AttributeAggregatorExecutor<io.siddhi.core.query.selector.attribute.aggregator.MaxAttributeAggregatorExecutor.MaxAggregatorState>
      • reset

        public Object reset​(io.siddhi.core.query.selector.attribute.aggregator.MaxAttributeAggregatorExecutor.MaxAggregatorState state)
        Specified by:
        reset in class AttributeAggregatorExecutor<io.siddhi.core.query.selector.attribute.aggregator.MaxAttributeAggregatorExecutor.MaxAggregatorState>