Class StringEvaluationResult

java.lang.Object
org.pentaho.di.core.util.StringEvaluationResult

public class StringEvaluationResult extends Object
Utility class to hold the result of a set of string evaluations: a valid conversion metadata object (with data type, trim options, etc) and the minimum and maximum value encountered.
Author:
matt
  • Constructor Details

    • StringEvaluationResult

      public StringEvaluationResult(ValueMetaInterface conversionMeta)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getConversionMeta

      public ValueMetaInterface getConversionMeta()
      Returns:
      the conversionMeta
    • setConversionMeta

      public void setConversionMeta(ValueMetaInterface conversionMeta)
      Parameters:
      conversionMeta - the conversionMeta to set
    • getMin

      public Object getMin()
      Returns:
      the min
    • setMin

      public void setMin(Object min)
      Parameters:
      min - the min to set
    • getMax

      public Object getMax()
      Returns:
      the max
    • setMax

      public void setMax(Object max)
      Parameters:
      max - the max to set
    • getNrNull

      public int getNrNull()
      Returns:
      The number of null values encountered
    • setNrNull

      public void setNrNull(int nrNull)
      Parameters:
      nrNull - Set the number of null values to set
    • incrementNrNull

      public void incrementNrNull()
      Increment the number of null values encountered.
    • incrementSuccesses

      public void incrementSuccesses()
      Increment the number of successes by one.
    • incrementFailures

      public void incrementFailures()
      Increment the number of failures by one.
    • getNrSuccesses

      public int getNrSuccesses()
      Returns:
      the nrSuccesses
    • setNrSuccesses

      public void setNrSuccesses(int nrSuccesses)
      Parameters:
      nrSuccesses - the nrSuccesses to set
    • getNrFailures

      public int getNrFailures()
      Returns:
      the nrFailures
    • setNrFailures

      public void setNrFailures(int nrFailures)
      Parameters:
      nrFailures - the nrFailures to set
    • getNrTruncations

      public int getNrTruncations()
    • setNrTruncations

      public void setNrTruncations(int nrTruncations)
    • incrementTruncations

      public void incrementTruncations()
    • getNrExponentValues

      public int getNrExponentValues()
    • setNrExponentValues

      public void setNrExponentValues(int nrExponentValues)
    • incrementExponentValues

      public void incrementExponentValues()