public class BitmapEncoder extends Object
Constructor and Description |
---|
BitmapEncoder() |
Modifier and Type | Method and Description |
---|---|
static ABitmap |
extractBitmap(int[] colIndices,
MatrixBlock rawBlock,
boolean transposed,
int estimatedNumberOfUniques)
Generate uncompressed bitmaps for a set of columns in an uncompressed matrix block.
|
public static ABitmap extractBitmap(int[] colIndices, MatrixBlock rawBlock, boolean transposed, int estimatedNumberOfUniques)
colIndices
- Indexes (within the block) of the columns to extractrawBlock
- An uncompressed matrix block; can be dense or sparsetransposed
- Boolean specifying if the rawBlock was transposed.estimatedNumberOfUniques
- The number of estimated uniques inside this group. Used to allocated the hashMaps.Copyright © 2021 The Apache Software Foundation. All rights reserved.