public class StandardPreparedQuery extends Object implements PreparedQuery
| Modifier and Type | Field and Description |
|---|---|
private static String |
EMPTY_STRING |
private List<Expression> |
expressions |
private VariableImpact |
variableImpact |
| Constructor and Description |
|---|
StandardPreparedQuery(List<Expression> expressions) |
| Modifier and Type | Method and Description |
|---|---|
String |
evaluateExpressions(EvaluationContext evaluationContext,
AttributeValueDecorator decorator) |
Set<String> |
getExplicitlyReferencedAttributes()
Returns a Set of all attributes that are explicitly referenced by the Prepared Query.
|
VariableImpact |
getVariableImpact()
Returns a
VariableImpact that can be used to determine whether or not a given
variable impacts this Expression. |
boolean |
isExpressionLanguagePresent() |
private static final String EMPTY_STRING
private final List<Expression> expressions
private volatile VariableImpact variableImpact
public StandardPreparedQuery(List<Expression> expressions)
public String evaluateExpressions(EvaluationContext evaluationContext, AttributeValueDecorator decorator) throws ProcessException
evaluateExpressions in interface PreparedQueryProcessExceptionpublic boolean isExpressionLanguagePresent()
isExpressionLanguagePresent in interface PreparedQuerypublic Set<String> getExplicitlyReferencedAttributes()
PreparedQuery${allMatchingAttributes('a.*'):gt(4)}
that reference multiple attributes, but those attributes' names cannot be determined a priori. As a result,
those attributes will not be included in the returned set.getExplicitlyReferencedAttributes in interface PreparedQuerypublic VariableImpact getVariableImpact()
PreparedQueryVariableImpact that can be used to determine whether or not a given
variable impacts this Expression.getVariableImpact in interface PreparedQueryVariableImpact that can be used to determine whether or not a given
variable impacts this Expression.Copyright © 2022 Apache NiFi Project. All rights reserved.