public class BinaryDeltaValuesDecoder extends Object implements ValuesDecoder.BinaryValuesDecoder
ValuesDecoder.BinaryValuesDecoder interface.ValuesDecoder.BinaryValuesDecoder.ValueBufferValuesDecoder.BinaryValuesDecoder, ValuesDecoder.BooleanValuesDecoder, ValuesDecoder.Int32ValuesDecoder, ValuesDecoder.Int64TimestampMicrosValuesDecoder, ValuesDecoder.Int64ValuesDecoder, ValuesDecoder.TimestampValuesDecoder| Constructor and Description |
|---|
BinaryDeltaValuesDecoder(ParquetEncoding encoding,
int valueCount,
org.apache.parquet.bytes.ByteBufferInputStream bufferInputStream) |
| Modifier and Type | Method and Description |
|---|---|
int |
readIntoBuffer(byte[] byteBuffer,
int bufferIndex,
int[] offsets,
int offsetIndex,
ValuesDecoder.BinaryValuesDecoder.ValueBuffer valueBuffer) |
ValuesDecoder.BinaryValuesDecoder.ValueBuffer |
readNext(int length) |
void |
skip(int length) |
public BinaryDeltaValuesDecoder(ParquetEncoding encoding, int valueCount, org.apache.parquet.bytes.ByteBufferInputStream bufferInputStream) throws IOException
IOExceptionpublic ValuesDecoder.BinaryValuesDecoder.ValueBuffer readNext(int length) throws IOException
readNext in interface ValuesDecoder.BinaryValuesDecoderIOExceptionpublic int readIntoBuffer(byte[] byteBuffer,
int bufferIndex,
int[] offsets,
int offsetIndex,
ValuesDecoder.BinaryValuesDecoder.ValueBuffer valueBuffer)
readIntoBuffer in interface ValuesDecoder.BinaryValuesDecoderpublic void skip(int length)
throws IOException
skip in interface ValuesDecoder.BinaryValuesDecoderIOExceptionCopyright © 2012–2022. All rights reserved.