public final class BitmapLossy extends ABitmap
ABitmap.BitmapType
Constructor and Description |
---|
BitmapLossy(int numCols,
IntArrayList[] offsetsLists,
int numZeroGroups,
byte[] values,
double scale) |
Modifier and Type | Method and Description |
---|---|
long |
getNumOffsets() |
int |
getNumOffsets(int ix) |
int |
getNumValues()
Obtain number of distinct values in the column.
|
IntArrayList |
getOffsetsList(int ix) |
double |
getScale() |
ABitmap.BitmapType |
getType() |
byte[] |
getValues()
Get all values without unnecessary allocations and copies.
|
byte[] |
getValues(int ix)
Obtain tuple of column values associated with index.
|
void |
sortValuesByFrequency() |
String |
toString() |
containsZero, getNumColumns, getOffsetList, getZeroCounts
public BitmapLossy(int numCols, IntArrayList[] offsetsLists, int numZeroGroups, byte[] values, double scale)
public byte[] getValues()
public byte[] getValues(int ix)
ix
- index of a particular distinct valuepublic double getScale()
public int getNumValues()
getNumValues
in class ABitmap
public IntArrayList getOffsetsList(int ix)
getOffsetsList
in class ABitmap
public long getNumOffsets()
getNumOffsets
in class ABitmap
public int getNumOffsets(int ix)
getNumOffsets
in class ABitmap
public void sortValuesByFrequency()
sortValuesByFrequency
in class ABitmap
public ABitmap.BitmapType getType()
Copyright © 2020 The Apache Software Foundation. All rights reserved.