java.lang.Object
org.apache.nifi.attribute.expression.language.evaluation.DecimalEvaluator
All Implemented Interfaces:
Evaluator<Double>
Direct Known Subclasses:
DecimalCastEvaluator, DecimalLiteralEvaluator

public abstract class DecimalEvaluator extends Object implements Evaluator<Double>
  • Field Details

    • token

      private String token
  • Constructor Details

    • DecimalEvaluator

      public DecimalEvaluator()
  • Method Details

    • getResultType

      public org.apache.nifi.expression.AttributeExpression.ResultType getResultType()
      Specified by:
      getResultType in interface Evaluator<Double>
    • getEvaluationsRemaining

      public int getEvaluationsRemaining(EvaluationContext context)
      Specified by:
      getEvaluationsRemaining in interface Evaluator<Double>
    • getToken

      public String getToken()
      Specified by:
      getToken in interface Evaluator<Double>
      Returns:
      the token that caused this Evaluator to be created
    • setToken

      public void setToken(String token)
      Description copied from interface: Evaluator
      Sets the token that was used in the query to cause this Evaluator to be created
      Specified by:
      setToken in interface Evaluator<Double>
      Parameters:
      token - the token that caused this Evaluator to be created