Class CompressedSizeInfoColGroup


  • public class CompressedSizeInfoColGroup
    extends Object
    Information collected about a specific ColGroup's compression size.
    • Constructor Detail

      • CompressedSizeInfoColGroup

        public CompressedSizeInfoColGroup​(int[] columns,
                                          int nRows)
        Create empty.
        Parameters:
        columns - columns
        nRows - number of rows
    • Method Detail

      • getMinSize

        public long getMinSize()
      • getNumVals

        public int getNumVals()
        Note cardinality is the same as number of distinct values.
        Returns:
        cardinality or number of distinct values.
      • getNumOffs

        public int getNumOffs()
        Number of offsets, or number of non zero values.
        Returns:
        Number of non zeros or number of values.
      • getColumns

        public int[] getColumns()
      • getNumRows

        public int getNumRows()
      • getCardinalityRatio

        public double getCardinalityRatio()
      • getMostCommonFraction

        public double getMostCommonFraction()
      • getLargestOffInstances

        public int getLargestOffInstances()
      • getTupleSparsity

        public double getTupleSparsity()
      • containsZeros

        public boolean containsZeros()
      • isEmpty

        public boolean isEmpty()
      • isConst

        public boolean isConst()
      • clearMap

        public void clearMap()