public static interface PackedInts.Decoder
| Modifier and Type | Method and Description | 
|---|---|
| int | byteBlockCount()The minimum number of byte blocks to encode in a single iteration, when
 using byte encoding. | 
| int | byteValueCount()The number of values that can be stored in  byteBlockCount()byte
 blocks. | 
| void | decode(byte[] blocks,
      int blocksOffset,
      int[] values,
      int valuesOffset,
      int iterations)Read  8 * iterations * blockCount()blocks fromblocks,
 decode them and writeiterations * valueCount()values intovalues. | 
| void | decode(byte[] blocks,
      int blocksOffset,
      long[] values,
      int valuesOffset,
      int iterations)Read  8 * iterations * blockCount()blocks fromblocks,
 decode them and writeiterations * valueCount()values intovalues. | 
| void | decode(long[] blocks,
      int blocksOffset,
      int[] values,
      int valuesOffset,
      int iterations)Read  iterations * blockCount()blocks fromblocks,
 decode them and writeiterations * valueCount()values intovalues. | 
| void | decode(long[] blocks,
      int blocksOffset,
      long[] values,
      int valuesOffset,
      int iterations)Read  iterations * blockCount()blocks fromblocks,
 decode them and writeiterations * valueCount()values intovalues. | 
| int | longBlockCount()The minimum number of long blocks to encode in a single iteration, when
 using long encoding. | 
| int | longValueCount()The number of values that can be stored in  longBlockCount()long
 blocks. | 
int longBlockCount()
int longValueCount()
longBlockCount() long
 blocks.int byteBlockCount()
int byteValueCount()
byteBlockCount() byte
 blocks.void decode(long[] blocks,
            int blocksOffset,
            long[] values,
            int valuesOffset,
            int iterations)
iterations * blockCount() blocks from blocks,
 decode them and write iterations * valueCount() values into
 values.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 decodevoid decode(byte[] blocks,
            int blocksOffset,
            long[] values,
            int valuesOffset,
            int iterations)
8 * iterations * blockCount() blocks from blocks,
 decode them and write iterations * valueCount() values into
 values.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 decodevoid decode(long[] blocks,
            int blocksOffset,
            int[] values,
            int valuesOffset,
            int iterations)
iterations * blockCount() blocks from blocks,
 decode them and write iterations * valueCount() values into
 values.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 decodevoid decode(byte[] blocks,
            int blocksOffset,
            int[] values,
            int valuesOffset,
            int iterations)
8 * iterations * blockCount() blocks from blocks,
 decode them and write iterations * valueCount() values into
 values.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 decodeCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.