public interface AttributeExpression
| Modifier and Type | Interface and Description |
|---|---|
static class |
AttributeExpression.ResultType |
| Modifier and Type | Method and Description |
|---|---|
String |
evaluate() |
String |
evaluate(AttributeValueDecorator decorator)
Evaluates the expression without providing any FlowFile Attributes.
|
String |
evaluate(FlowFile flowFile)
Evaluates the expression, providing access to the attributes, file size,
id, etc.
|
String |
evaluate(FlowFile flowFile,
AttributeValueDecorator decorator)
Evaluates the expression, providing access to the attributes, file size,
id, etc.
|
AttributeExpression.ResultType |
getResultType() |
String evaluate() throws ProcessException
ProcessException - if unable to evaluateString evaluate(AttributeValueDecorator decorator) throws ProcessException
decorator - for attribute valueProcessException - if failure in evaluationString evaluate(FlowFile flowFile) throws ProcessException
flowFile - to evaluateProcessException - if failure evaluatingString evaluate(FlowFile flowFile, AttributeValueDecorator decorator) throws ProcessException
flowFile - to evaluatedecorator - for evaluationProcessException - if failed to evaluateAttributeExpression.ResultType getResultType()
Copyright © 2016 Apache NiFi Project. All rights reserved.