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, getZeroCountspublic 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 ABitmappublic IntArrayList getOffsetsList(int ix)
getOffsetsList in class ABitmappublic long getNumOffsets()
getNumOffsets in class ABitmappublic int getNumOffsets(int ix)
getNumOffsets in class ABitmappublic void sortValuesByFrequency()
sortValuesByFrequency in class ABitmappublic ABitmap.BitmapType getType()
Copyright © 2020 The Apache Software Foundation. All rights reserved.