Class MultiMatchAttributeEvaluator
java.lang.Object
org.apache.nifi.attribute.expression.language.evaluation.StringEvaluator
org.apache.nifi.attribute.expression.language.evaluation.selection.MultiAttributeEvaluator
org.apache.nifi.attribute.expression.language.evaluation.selection.MultiMatchAttributeEvaluator
- All Implemented Interfaces:
Evaluator<String>,IteratingEvaluator<String>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionMultiMatchAttributeEvaluator(List<String> attributeRegexes, int evaluationType) -
Method Summary
Modifier and TypeMethodDescriptionevaluate(EvaluationContext evaluationContext) intgetEvaluationsRemaining(EvaluationContext context) Can be called only after the first call to evaluateintEvaluator<?> Evaluator<?> Methods inherited from class org.apache.nifi.attribute.expression.language.evaluation.StringEvaluator
getResultType, getToken, setTokenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.nifi.attribute.expression.language.evaluation.Evaluator
getResultType, getToken, setToken
-
Field Details
-
attributePatterns
-
evaluationType
private final int evaluationType
-
-
Constructor Details
-
MultiMatchAttributeEvaluator
-
-
Method Details
-
getEvaluationsRemaining
Can be called only after the first call to evaluate- Specified by:
getEvaluationsRemainingin interfaceEvaluator<String>- Overrides:
getEvaluationsRemainingin classStringEvaluator- Returns:
- number of remaining evaluations
-
evaluate
-
getSubjectEvaluator
-
getEvaluationType
public int getEvaluationType()- Specified by:
getEvaluationTypein classMultiAttributeEvaluator
-
getLogicEvaluator
- Returns:
- the evaluator that evaluates some sort of logic against its subject
-