final class BulkOperationPacked23 extends BulkOperationPacked
Constructor and Description |
---|
BulkOperationPacked23() |
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] blocks,
int blocksOffset,
int[] values,
int valuesOffset,
int iterations)
Read
8 * iterations * blockCount() blocks from blocks ,
decode them and write iterations * valueCount() values into
values . |
void |
decode(byte[] blocks,
int blocksOffset,
long[] values,
int valuesOffset,
int iterations)
Read
8 * iterations * blockCount() blocks from blocks ,
decode them and write iterations * valueCount() values into
values . |
void |
decode(long[] blocks,
int blocksOffset,
int[] values,
int valuesOffset,
int iterations)
Read
iterations * blockCount() blocks from blocks ,
decode them and write iterations * valueCount() values into
values . |
void |
decode(long[] blocks,
int blocksOffset,
long[] values,
int valuesOffset,
int iterations)
Read
iterations * blockCount() blocks from blocks ,
decode them and write iterations * valueCount() values into
values . |
byteBlockCount, byteValueCount, encode, encode, encode, encode, longBlockCount, longValueCount
computeIterations, of, writeLong
public void decode(long[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations)
PackedInts.Decoder
iterations * blockCount()
blocks from blocks
,
decode them and write iterations * valueCount()
values into
values
.decode
in interface PackedInts.Decoder
decode
in class BulkOperationPacked
blocks
- the long blocks that hold packed integer valuesblocksOffset
- the offset where to start reading blocksvalues
- the values buffervaluesOffset
- the offset where to start writing valuesiterations
- controls how much data to decodepublic void decode(byte[] blocks, int blocksOffset, int[] values, int valuesOffset, int iterations)
PackedInts.Decoder
8 * iterations * blockCount()
blocks from blocks
,
decode them and write iterations * valueCount()
values into
values
.decode
in interface PackedInts.Decoder
decode
in class BulkOperationPacked
blocks
- the long blocks that hold packed integer valuesblocksOffset
- the offset where to start reading blocksvalues
- the values buffervaluesOffset
- the offset where to start writing valuesiterations
- controls how much data to decodepublic void decode(long[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations)
PackedInts.Decoder
iterations * blockCount()
blocks from blocks
,
decode them and write iterations * valueCount()
values into
values
.decode
in interface PackedInts.Decoder
decode
in class BulkOperationPacked
blocks
- the long blocks that hold packed integer valuesblocksOffset
- the offset where to start reading blocksvalues
- the values buffervaluesOffset
- the offset where to start writing valuesiterations
- controls how much data to decodepublic void decode(byte[] blocks, int blocksOffset, long[] values, int valuesOffset, int iterations)
PackedInts.Decoder
8 * iterations * blockCount()
blocks from blocks
,
decode them and write iterations * valueCount()
values into
values
.decode
in interface PackedInts.Decoder
decode
in class BulkOperationPacked
blocks
- the long blocks that hold packed integer valuesblocksOffset
- the offset where to start reading blocksvalues
- the values buffervaluesOffset
- the offset where to start writing valuesiterations
- controls how much data to decode