Class FieldStats
- java.lang.Object
-
- com.tibco.patterns.learn.api.project.FieldStats
-
public final class FieldStats extends java.lang.ObjectStores statistics for one table field. Objects of FieldStats are passed to/from Learn API.
-
-
Constructor Summary
Constructors Constructor Description FieldStats()Creates a blank object.FieldStats(com.tibco.patterns.learn.jaxb.project.FileFieldType field)Copies information from the XML field to this object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDistinctValues()java.util.List<ValueFreq>getFrequentValues()floatgetNonEmptyRows()voidsetDistinctValues(int distinctValues)voidsetFrequentValues(java.util.List<ValueFreq> frequentValues)voidsetNonEmptyRows(float nonEmptyRows)java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getNonEmptyRows
public float getNonEmptyRows()
- Returns:
- the number of non-empty rows.
-
setNonEmptyRows
public void setNonEmptyRows(float nonEmptyRows)
- Parameters:
nonEmptyRows- - the number of non-empty rows.
-
getDistinctValues
public int getDistinctValues()
- Returns:
- the number of distinct values.
-
setDistinctValues
public void setDistinctValues(int distinctValues)
- Parameters:
distinctValues- - the number of distinct values.
-
getFrequentValues
public java.util.List<ValueFreq> getFrequentValues()
- Returns:
- list of frequent field values.
-
setFrequentValues
public void setFrequentValues(java.util.List<ValueFreq> frequentValues)
- Parameters:
frequentValues- - list of frequent field values.
-
-