org.apache.sysml.runtime.compress

Class UncompressedBitmap



  • public final class UncompressedBitmap
    extends Object
    Uncompressed representation of one or more columns in bitmap format.
    • Method Detail

      • getNumColumns

        public int getNumColumns()
      • getValues

        public double[] getValues()
        Get all values without unnecessary allocations and copies.
        Returns:
        dictionary of value tuples
      • getValues

        public double[] getValues(int ix)
        Obtain tuple of column values associated with index.
        Parameters:
        ix - index of a particular distinct value
        Returns:
        the tuple of column values associated with the specified index
      • getNumValues

        public int getNumValues()
        Obtain number of distinct values in the column.
        Returns:
        number of distinct values in the column; this number is also the number of bitmaps, since there is one bitmap per value
      • getOffsetsList

        public IntArrayList getOffsetsList(int ix)
      • getNumOffsets

        public long getNumOffsets()
      • getNumOffsets

        public int getNumOffsets(int ix)
      • sortValuesByFrequency

        public void sortValuesByFrequency()

Copyright © 2017 The Apache Software Foundation. All rights reserved.