Package org.pentaho.di.core.util
Class StringEvaluationResult
java.lang.Object
org.pentaho.di.core.util.StringEvaluationResult
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMax()
getMin()
int
int
int
int
int
void
void
Increment the number of failures by one.void
Increment the number of null values encountered.void
Increment the number of successes by one.void
void
setConversionMeta
(ValueMetaInterface conversionMeta) void
void
void
setNrExponentValues
(int nrExponentValues) void
setNrFailures
(int nrFailures) void
setNrNull
(int nrNull) void
setNrSuccesses
(int nrSuccesses) void
setNrTruncations
(int nrTruncations) toString()
-
Constructor Details
-
StringEvaluationResult
-
-
Method Details
-
toString
-
getConversionMeta
- Returns:
- the conversionMeta
-
setConversionMeta
- Parameters:
conversionMeta
- the conversionMeta to set
-
getMin
- Returns:
- the min
-
setMin
- Parameters:
min
- the min to set
-
getMax
- Returns:
- the max
-
setMax
- 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()
-