Package ca.uqac.lif.cep.tuples
Class ScalarIntoTuple
java.lang.Object
ca.uqac.lif.cep.functions.Function
ca.uqac.lif.cep.functions.UnaryFunction<Object,TupleFixed>
ca.uqac.lif.cep.tuples.ScalarIntoTuple
- All Implemented Interfaces:
ca.uqac.lif.cep.Duplicable,ca.uqac.lif.cep.functions.DuplicableFunction
Turns a scalar object into a singleton tuple.
- Author:
- Sylvain Hallé
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe name given to the key for the resulting tupleFields inherited from class ca.uqac.lif.cep.functions.Function
s_maxInputArity -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ca.uqac.lif.cep.functions.UnaryFunction
evaluate, getInputArity, getInputTypesFor, getOutputArity, getOutputTypeFor, resetMethods inherited from class ca.uqac.lif.cep.functions.Function
duplicate, evaluate, evaluate, evaluateLazy, evaluatePartial, printState, readState
-
Field Details
-
m_keyName
The name given to the key for the resulting tuple
-
-
Constructor Details
-
ScalarIntoTuple
Creates a new instance of the function- Parameters:
name- The name given to the key in the resulting tuple
-
-
Method Details
-
getValue
- Specified by:
getValuein classca.uqac.lif.cep.functions.UnaryFunction<Object,TupleFixed>
-
duplicate
- Specified by:
duplicatein interfaceca.uqac.lif.cep.Duplicable- Overrides:
duplicatein classca.uqac.lif.cep.functions.UnaryFunction<Object,TupleFixed>
-