Class StatisticRecord


  • public final class StatisticRecord
    extends java.lang.Object
    Represents the statistic value for a particular field.
    Since:
    100.2.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getGroup()
      Gets the statistics for a SQL Group By fields (if any were specified) and their associated values.
      java.util.Map<java.lang.String,​java.lang.Object> getStatistics()
      Gets the statistics of the query result.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getStatistics

        public java.util.Map<java.lang.String,​java.lang.Object> getStatistics()
        Gets the statistics of the query result. The keys are field output alias, the values are either long or string value.
        Returns:
        statistics values returned in the query result
        Since:
        100.2.0
      • getGroup

        public java.util.Map<java.lang.String,​java.lang.Object> getGroup()
        Gets the statistics for a SQL Group By fields (if any were specified) and their associated values. The type of value depends on the type of the Group By field.
        Returns:
        the the statistic for the Group By fields (if any were specified) and their associated values.
        Since:
        100.2.0