Package ca.uqac.lif.cep.tuples
Class Select.SelectFunction
java.lang.Object
ca.uqac.lif.cep.functions.Function
ca.uqac.lif.cep.functions.UnaryFunction<AttributeGroup,Object>
ca.uqac.lif.cep.tuples.Select.SelectFunction
- All Implemented Interfaces:
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,Object>
The internal function performing the actual work for the
From processor.- Author:
- Sylvain Hallé
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AttributeExpression[]The expressions used to build the output tupleFields inherited from class ca.uqac.lif.cep.functions.Function
s_maxInputArity -
Constructor Summary
ConstructorsConstructorDescriptionSelectFunction(AttributeExpression... expressions) Creates a new instance of theSELECTfunctionSelectFunction(Collection<AttributeExpression> expressions) Creates a new instance of theSELECTfunction -
Method Summary
Modifier and TypeMethodDescriptionClass<?> getOutputTypeFor(int index) getValue(AttributeGroup group) Methods inherited from class ca.uqac.lif.cep.functions.UnaryFunction
duplicate, evaluate, getInputArity, getInputTypesFor, getOutputArity, resetMethods inherited from class ca.uqac.lif.cep.functions.Function
duplicate, evaluate, evaluate, evaluateLazy, evaluatePartial, printState, readState
-
Field Details
-
m_expressions
The expressions used to build the output tuple
-
-
Constructor Details
-
SelectFunction
Creates a new instance of theSELECTfunction- Parameters:
expressions- The definition of each attribute of the output tuples to create
-
SelectFunction
Creates a new instance of theSELECTfunction- Parameters:
expressions- The definition of each attribute of the output tuples to create
-
-
Method Details
-
getValue
- Specified by:
getValuein classca.uqac.lif.cep.functions.UnaryFunction<AttributeGroup,Object>
-
getOutputTypeFor
- Overrides:
getOutputTypeForin classca.uqac.lif.cep.functions.UnaryFunction<AttributeGroup,Object>
-