Package ca.uqac.lif.cep.tuples
Class TransposePair
- All Implemented Interfaces:
ca.uqac.lif.cep.Duplicable,ca.uqac.lif.cep.functions.DuplicableFunction
Creates two Applies a triple substitution to a singleton tuple. Given a tuple
{(foo,bar)} two new names baz and biz, the transformation will produce
the tuple {(baz=foo,biz=bar)}.
- Author:
- Sylvain Hallé
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe key associated to the tuple's headerprotected StringThe key associated to the tuple's valueFields inherited from class ca.uqac.lif.cep.functions.Function
s_maxInputArity -
Constructor Summary
ConstructorsConstructorDescriptionTransposePair(String column_header, String column_value) Creates a new instance of the tuple transposition function. -
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_columnHeader
The key associated to the tuple's header -
m_columnValue
The key associated to the tuple's value
-
-
Constructor Details
-
TransposePair
Creates a new instance of the tuple transposition function.- Parameters:
column_header- The key associated to the tuple's headercolumn_value- The key associated to the tuple's value
-
-
Method Details