Interface DocValuesBulkDecodeSupport
public interface DocValuesBulkDecodeSupport
Interface for SIMD-accelerated doc values bulk decode operations.
Implementations decode byte-aligned packed numeric values into a long[] destination.
The default scalar implementation is used when the Panama Vector API is unavailable; a
SIMD-accelerated implementation is used otherwise.
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddecodeByteAligned(byte[] bytes, int bytesOffset, int bitsPerValue, long[] values, int valuesOffset, int count) Decodescountbyte-aligned packed values frombytesintovalues.
-
Method Details
-
decodeByteAligned
void decodeByteAligned(byte[] bytes, int bytesOffset, int bitsPerValue, long[] values, int valuesOffset, int count) Decodescountbyte-aligned packed values frombytesintovalues.- Parameters:
bytes- source bytes encoded likeLongValuesproduced by packedDirectReaderbytesOffset- first byte to readbitsPerValue- number of bits per value, must be a multiple of 8values- destination valuesvaluesOffset- first destination slotcount- number of values to decode
-