public final class Bitmap extends ABitmap
ABitmap.BitmapType| Constructor and Description | 
|---|
| Bitmap(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. | 
| boolean | lossy() | 
| void | sortValuesByFrequency() | 
| String | toString() | 
containsZero, getNumColumns, getNumOffsets, getNumOffsets, getNumRows, getOffsetList, getOffsetsList, getZeroCounts, isEmptypublic Bitmap(IntArrayList[] offsetsLists, double[] values, int rows)
public double[] getValues()
public 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.