Class Bitmap
- java.lang.Object
- 
- org.apache.sysds.runtime.compress.bitmap.ABitmap
- 
- org.apache.sysds.runtime.compress.bitmap.Bitmap
 
 
- 
 public final class Bitmap extends ABitmap Uncompressed representation of one or more columns in bitmap format.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumColumns()Get the number of columns encoded in this bitmapintgetNumNonZerosInOffset(int idx)Get the number of non zeros in a specific offset's tuple value.intgetNumValues()Obtain number of distinct value groups in the column.double[]getValues()Get all values without unnecessary allocations and copies.- 
Methods inherited from class org.apache.sysds.runtime.compress.bitmap.ABitmapcontainsZero, getNumOffsets, getNumOffsets, getNumZeros, getOffsetList, getOffsetsList, toString
 
- 
 
- 
- 
- 
Method Detail- 
getValuespublic final double[] getValues() Get all values without unnecessary allocations and copies.- Returns:
- Dictionary of distinct values
 
 - 
getNumNonZerosInOffsetpublic final int getNumNonZerosInOffset(int idx) Description copied from class:ABitmapGet the number of non zeros in a specific offset's tuple value.- Specified by:
- getNumNonZerosInOffsetin class- ABitmap
- Parameters:
- idx- The offset index to look at.
- Returns:
- The nnz in the tuple.
 
 - 
getNumValuespublic final int getNumValues() Description copied from class:ABitmapObtain number of distinct value groups in the column. this number is also the number of bitmaps, since there is one bitmap per value- Specified by:
- getNumValuesin class- ABitmap
- Returns:
- number of distinct value groups in the column;
 
 - 
getNumColumnspublic int getNumColumns() Description copied from class:ABitmapGet the number of columns encoded in this bitmap- Specified by:
- getNumColumnsin class- ABitmap
- Returns:
- The column count
 
 
- 
 
-