Class ColumnStatistics


  • public class ColumnStatistics
    extends Object
    Values statistic in particular column.
    • Constructor Detail

      • ColumnStatistics

        public ColumnStatistics​(BigDecimal min,
                                BigDecimal max,
                                long nulls,
                                long distinct,
                                long total,
                                int size,
                                byte[] raw,
                                long ver,
                                long createdAt)
        Constructor.
        Parameters:
        min - Min value in column or null.
        max - Max value in column or null.
        nulls - Number of null values in column.
        distinct - Number of distinct values in column.
        total - Total number of values in column.
        size - Average size in bytes, for variable size only.
        raw - Raw data to aggregate statistics.
        ver - Statistics version.
        createdAt - Created at time, milliseconds.
    • Method Detail

      • min

        public BigDecimal min()
        Returns:
        Min value in column.
      • max

        public BigDecimal max()
        Returns:
        Max value in column.
      • nulls

        public long nulls()
        Returns:
        Number of null values in column.
      • distinct

        public long distinct()
        Returns:
        Number of null values in column.
      • total

        public long total()
        Returns:
        Total number of values in column.
      • size

        public int size()
        Returns:
        Average size in bytes, for variable size only.
      • raw

        public byte[] raw()
        Returns:
        Raw value needed to aggregate statistics.
      • version

        public long version()
        Returns:
        Statistic's version.
      • createdAt

        public long createdAt()
        Returns:
        Created at time, milliseconds
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object