public final class Bitmap extends ABitmap
ABitmap.BitmapType
Constructor and Description |
---|
Bitmap(int numCols,
IntArrayList[] offsetsLists,
int numZeroGroups,
double[] values) |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
sortValuesByFrequency() |
String |
toString() |
containsZero, getNumColumns, getNumOffsets, getNumOffsets, getOffsetList, getOffsetsList, getZeroCounts
public Bitmap(int numCols, IntArrayList[] offsetsLists, int numZeroGroups, double[] values)
public double[] getValues()
public double[] getValues(int ix)
ix
- index of a particular distinct valuepublic int getNumValues()
ABitmap
getNumValues
in class ABitmap
public void sortValuesByFrequency()
sortValuesByFrequency
in class ABitmap
public ABitmap.BitmapType getType()
Copyright © 2020 The Apache Software Foundation. All rights reserved.