Package ca.uqac.lif.cep.tuples
Class FetchAttribute
- All Implemented Interfaces:
ca.uqac.lif.cep.Duplicable,ca.uqac.lif.cep.functions.DuplicableFunction
Gets the value of an attribute in a
Tuple- Author:
- Sylvain Hallé
-
Field Summary
Fields inherited from class ca.uqac.lif.cep.functions.Function
s_maxInputArity -
Constructor Summary
ConstructorsConstructorDescriptionFetchAttribute(String attribute_name) Creates a new instance of the function -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbuild(ArrayDeque<Object> stack) duplicate(boolean with_state) Gets the name of the attribute to gettoString()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
-
Constructor Details
-
FetchAttribute
Creates a new instance of the function- Parameters:
attribute_name- The name of the attribute to get
-
-
Method Details
-
getAttributeName
Gets the name of the attribute to get- Returns:
- The name
-
getValue
-
duplicate
-
toString
-
build
-