public class InvalidPreparedQuery extends Object implements PreparedQuery
AttributeExpressionLanguageException
when attempting to evaluate the
query. This allows a PreparedQuery to be created, even though it can't be
evaluated.Modifier and Type | Field and Description |
---|---|
private String |
explanation |
private String |
query |
Constructor and Description |
---|
InvalidPreparedQuery(String query,
String explanation) |
Modifier and Type | Method and Description |
---|---|
String |
evaluateExpressions(EvaluationContext evaluationContext,
AttributeValueDecorator decorator) |
VariableImpact |
getVariableImpact()
Returns a
VariableImpact that can be used to determine whether or not a given
variable impacts this Expression. |
boolean |
isExpressionLanguagePresent() |
public String evaluateExpressions(EvaluationContext evaluationContext, AttributeValueDecorator decorator) throws ProcessException
evaluateExpressions
in interface PreparedQuery
ProcessException
public boolean isExpressionLanguagePresent()
isExpressionLanguagePresent
in interface PreparedQuery
public VariableImpact getVariableImpact()
PreparedQuery
VariableImpact
that can be used to determine whether or not a given
variable impacts this Expression.getVariableImpact
in interface PreparedQuery
VariableImpact
that can be used to determine whether or not a given
variable impacts this Expression.Copyright © 2019 Apache NiFi Project. All rights reserved.