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 MultiAttributeEvaluator
private String
-
Constructor Summary
ConstructorsConstructorDescriptionMappingEvaluator
(ReduceEvaluator<T> mappingEvaluator, MultiAttributeEvaluator multiAttributeEval) -
Method Summary
Modifier and TypeMethodDescriptionevaluate
(EvaluationContext evaluationContext) int
getEvaluationsRemaining
(EvaluationContext context) Evaluator
<?> getToken()
void
Sets 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
- Specified by:
getResultType
in interfaceEvaluator<T>
-
getEvaluationsRemaining
- Specified by:
getEvaluationsRemaining
in interfaceEvaluator<T>
-
getSubjectEvaluator
- Specified by:
getSubjectEvaluator
in interfaceEvaluator<T>
-
getToken
-
setToken
Description copied from interface:Evaluator
Sets the token that was used in the query to cause this Evaluator to be created -
getVariableIteratingEvaluator
-