Class MappingEvaluator<T>
java.lang.Object
org.apache.nifi.attribute.expression.language.evaluation.selection.MappingEvaluator<T>
- All Implemented Interfaces:
Evaluator<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ReduceEvaluator<T> private final MultiAttributeEvaluatorprivate String -
Constructor Summary
ConstructorsConstructorDescriptionMappingEvaluator(ReduceEvaluator<T> mappingEvaluator, MultiAttributeEvaluator multiAttributeEval) -
Method Summary
Modifier and TypeMethodDescriptionevaluate(EvaluationContext evaluationContext) intgetEvaluationsRemaining(EvaluationContext context) org.apache.nifi.expression.AttributeExpression.ResultTypeEvaluator<?> getToken()voidSets the token that was used in the query to cause this Evaluator to be created
-
Field Details
-
mappingEvaluator
-
multiAttributeEvaluator
-
token
-
-
Constructor Details
-
MappingEvaluator
public MappingEvaluator(ReduceEvaluator<T> mappingEvaluator, MultiAttributeEvaluator multiAttributeEval)
-
-
Method Details
-
evaluate
-
getResultType
public org.apache.nifi.expression.AttributeExpression.ResultType getResultType()- Specified by:
getResultTypein interfaceEvaluator<T>
-
getEvaluationsRemaining
- Specified by:
getEvaluationsRemainingin interfaceEvaluator<T>
-
getSubjectEvaluator
- Specified by:
getSubjectEvaluatorin interfaceEvaluator<T>
-
getToken
-
setToken
Description copied from interface:EvaluatorSets the token that was used in the query to cause this Evaluator to be created -
getVariableIteratingEvaluator
-