Class FieldStats


  • public final class FieldStats
    extends java.lang.Object
    Stores statistics for one table field. Objects of FieldStats are passed to/from Learn API.
    • Constructor Detail

      • FieldStats

        public FieldStats()
        Creates a blank object.
      • FieldStats

        public FieldStats​(com.tibco.patterns.learn.jaxb.project.FileFieldType field)
        Copies information from the XML field to this object
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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.