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.
|
void |
sortValuesByFrequency() |
String |
toString() |
containsZero, getNumColumns, getNumOffsets, getNumOffsets, getOffsetList, getOffsetsList, getZeroCountspublic 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 ABitmappublic int getNumValues()
ABitmapgetNumValues in class ABitmappublic void sortValuesByFrequency()
sortValuesByFrequency in class ABitmappublic ABitmap.BitmapType getType()
Copyright © 2021 The Apache Software Foundation. All rights reserved.