org.pentaho.di.trans.steps.numberrange
Class NumberRangeSet
java.lang.Object
org.pentaho.di.trans.steps.numberrange.NumberRangeSet
public class NumberRangeSet
- extends Object
This class assigns numbers into ranges
- Author:
- ronny.roeller@fredhopper.com
MULTI_VALUE_SEPARATOR
public static final String MULTI_VALUE_SEPARATOR
- See Also:
- Constant Field Values
NumberRangeSet
public NumberRangeSet(List<NumberRangeRule> rules,
String fallBackValue)
getMultiValueSeparator
public static String getMultiValueSeparator()
- Returns separator that is added if a value matches multiple ranges.
evaluate
public String evaluate(String strValue)
throws KettleException
- Evaluates a value against all rules. Return empty value if input is not
numeric.
- Throws:
KettleException
evaluate
public String evaluate(Double value)
throws KettleException
- Evaluates a value against all rules. Return empty value if input is not
numeric.
- Throws:
KettleException