Class NumberRangeSet


  • public class NumberRangeSet
    extends Object
    This class assigns numbers into ranges
    Author:
    ronny.roeller@fredhopper.com
    • Method Detail

      • evaluateDouble

        protected String evaluateDouble​(double value)
        Evaluates a value against all rules
      • getMultiValueSeparator

        public static String getMultiValueSeparator()
        Returns separator that is added if a value matches multiple ranges.
      • evaluate

        public String evaluate​(String strValue)
                        throws org.pentaho.di.core.exception.KettleException
        Evaluates a value against all rules. Return empty value if input is not numeric.
        Throws:
        org.pentaho.di.core.exception.KettleException
      • evaluate

        public String evaluate​(Double value)
                        throws org.pentaho.di.core.exception.KettleException
        Evaluates a value against all rules. Return empty value if input is not numeric.
        Throws:
        org.pentaho.di.core.exception.KettleException