Class MultiColBitmap
- java.lang.Object
 - 
- org.apache.sysds.runtime.compress.bitmap.ABitmap
 - 
- org.apache.sysds.runtime.compress.bitmap.MultiColBitmap
 
 
 
- 
public final class MultiColBitmap extends ABitmap
Uncompressed representation of one or more columns in bitmap format. 
- 
- 
Method Summary
All 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.double[]getValues(int ix)Obtain tuple of column values associated with index.- 
Methods inherited from class org.apache.sysds.runtime.compress.bitmap.ABitmap
containsZero, getNumOffsets, getNumOffsets, getNumValues, getNumZeros, getOffsetList, getOffsetsList, toString 
 - 
 
 - 
 
- 
- 
Method Detail
- 
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
 
 
- 
getNumNonZerosInOffset
public int getNumNonZerosInOffset(int idx)
Description copied from class:ABitmapGet the number of non zeros in a specific offset's tuple value.- Specified by:
 getNumNonZerosInOffsetin classABitmap- Parameters:
 idx- The offset index to look at.- Returns:
 - The nnz in the tuple.
 
 
- 
getNumColumns
public int getNumColumns()
Description copied from class:ABitmapGet the number of columns encoded in this bitmap- Specified by:
 getNumColumnsin classABitmap- Returns:
 - The column count
 
 
 - 
 
 -