Class VariableExpressionExecutor

    • Constructor Detail

      • VariableExpressionExecutor

        public VariableExpressionExecutor​(io.siddhi.query.api.definition.Attribute attribute,
                                          int streamEventChainIndex,
                                          int streamEventIndexInChain)
    • Method Detail

      • getAttribute

        public io.siddhi.query.api.definition.Attribute getAttribute()
      • setAttribute

        public void setAttribute​(io.siddhi.query.api.definition.Attribute attribute)
      • getPosition

        public int[] getPosition()
      • setPosition

        public void setPosition​(int[] position)
        Method to set the position of variable to be executed. For stream events(simple queries) position can be an array of size 2 and for state events(join/pattern queries) position should be an array of size 4.
        Parameters:
        position - attribute position