Class Select.SelectFunction

  • All Implemented Interfaces:
    ca.uqac.lif.azrael.Printable, ca.uqac.lif.azrael.Readable, ca.uqac.lif.cep.Duplicable, ca.uqac.lif.cep.functions.DuplicableFunction
    Enclosing class:
    Select

    public static class Select.SelectFunction
    extends ca.uqac.lif.cep.functions.UnaryFunction<AttributeGroup,​java.lang.Object>
    The internal function performing the actual work for the From processor.
    Author:
    Sylvain Hallé
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected AttributeExpression[] m_expressions
      The expressions used to build the output tuple
      • Fields inherited from class ca.uqac.lif.cep.functions.Function

        s_maxInputArity
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getOutputTypeFor​(int index)  
      java.lang.Object getValue​(AttributeGroup group)  
      • Methods inherited from class ca.uqac.lif.cep.functions.UnaryFunction

        duplicate, evaluate, getInputArity, getInputTypesFor, getOutputArity, reset
      • Methods inherited from class ca.uqac.lif.cep.functions.Function

        duplicate, evaluate, evaluate, evaluateLazy, evaluatePartial, print, printState, read, readState
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • m_expressions

        protected AttributeExpression[] m_expressions
        The expressions used to build the output tuple
    • Constructor Detail

      • SelectFunction

        public SelectFunction​(AttributeExpression... expressions)
        Creates a new instance of the SELECT function
        Parameters:
        expressions - The definition of each attribute of the output tuples to create
      • SelectFunction

        public SelectFunction​(java.util.Collection<AttributeExpression> expressions)
        Creates a new instance of the SELECT function
        Parameters:
        expressions - The definition of each attribute of the output tuples to create
    • Method Detail

      • getValue

        public java.lang.Object getValue​(AttributeGroup group)
        Specified by:
        getValue in class ca.uqac.lif.cep.functions.UnaryFunction<AttributeGroup,​java.lang.Object>
      • getOutputTypeFor

        public java.lang.Class<?> getOutputTypeFor​(int index)
        Overrides:
        getOutputTypeFor in class ca.uqac.lif.cep.functions.UnaryFunction<AttributeGroup,​java.lang.Object>