public final class MultiColBitmap extends ABitmap
ABitmap.BitmapType
Constructor and Description |
---|
MultiColBitmap(int numCols,
IntArrayList[] offsetsLists,
double[][] values,
int rows) |
Modifier and Type | Method and Description |
---|---|
int |
getNumNonZerosInOffset(int idx) |
int |
getNumValues()
Obtain number of distinct value groups in the column.
|
ABitmap.BitmapType |
getType() |
double[][] |
getValues()
Get all values without unnecessary allocations and copies.
|
double[] |
getValues(int ix)
Obtain tuple of column values associated with index.
|
boolean |
lossy() |
void |
sortValuesByFrequency() |
String |
toString() |
containsZero, getNumColumns, getNumOffsets, getNumOffsets, getNumRows, getOffsetList, getOffsetsList, getZeroCounts, isEmpty
public MultiColBitmap(int numCols, IntArrayList[] offsetsLists, double[][] values, int rows)
public double[][] getValues()
public double[] getValues(int ix)
ix
- index of a particular distinct valuepublic int getNumNonZerosInOffset(int idx)
getNumNonZerosInOffset
in class ABitmap
public int getNumValues()
ABitmap
getNumValues
in class ABitmap
public void sortValuesByFrequency()
sortValuesByFrequency
in class ABitmap
public ABitmap.BitmapType getType()
Copyright © 2021 The Apache Software Foundation. All rights reserved.