|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.di.core.util.StringEvaluationResult
public class 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.
Constructor Summary | |
---|---|
StringEvaluationResult(ValueMetaInterface conversionMeta)
|
Method Summary | |
---|---|
ValueMetaInterface |
getConversionMeta()
|
Object |
getMax()
|
Object |
getMin()
|
int |
getNrFailures()
|
int |
getNrNull()
|
int |
getNrSuccesses()
|
void |
incrementFailures()
Increment the number of failures by one. |
void |
incrementNrNull()
Increment the number of null values encountered. |
void |
incrementSuccesses()
Increment the number of successes by one. |
void |
setConversionMeta(ValueMetaInterface conversionMeta)
|
void |
setMax(Object max)
|
void |
setMin(Object min)
|
void |
setNrFailures(int nrFailures)
|
void |
setNrNull(int nrNull)
|
void |
setNrSuccesses(int nrSuccesses)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringEvaluationResult(ValueMetaInterface conversionMeta)
Method Detail |
---|
public String toString()
toString
in class Object
public ValueMetaInterface getConversionMeta()
public void setConversionMeta(ValueMetaInterface conversionMeta)
conversionMeta
- the conversionMeta to setpublic Object getMin()
public void setMin(Object min)
min
- the min to setpublic Object getMax()
public void setMax(Object max)
max
- the max to setpublic int getNrNull()
public void setNrNull(int nrNull)
nrNull
- Set the number of null values to setpublic void incrementNrNull()
public void incrementSuccesses()
public void incrementFailures()
public int getNrSuccesses()
public void setNrSuccesses(int nrSuccesses)
nrSuccesses
- the nrSuccesses to setpublic int getNrFailures()
public void setNrFailures(int nrFailures)
nrFailures
- the nrFailures to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |