public static class DeltaBinaryDecoder.LongDeltaDecoder extends DeltaBinaryDecoder
DeltaBinaryDecoder.IntDeltaDecoder, DeltaBinaryDecoder.LongDeltaDecodercount, deltaBuf, encodingLength, nextReadIndex, packNum, packWidth, readIntTotalCount| Constructor and Description |
|---|
LongDeltaDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
allocateDataArray() |
protected long |
loadIntBatch(ByteBuffer buffer)
if remaining data has been run out, load next pack from InputStream.
|
protected void |
readHeader(ByteBuffer buffer) |
long |
readLong(ByteBuffer buffer) |
protected long |
readT(ByteBuffer buffer)
if there's no decoded data left, decode next pack into
data. |
protected void |
readValue(int i) |
void |
reset() |
ceil, hasNextgetDecoderByType, getType, readBigDecimal, readBinary, readBoolean, readDouble, readFloat, readInt, readShort, setTypeprotected long readT(ByteBuffer buffer)
data.buffer - ByteBufferprotected long loadIntBatch(ByteBuffer buffer)
buffer - ByteBufferpublic long readLong(ByteBuffer buffer)
protected void readHeader(ByteBuffer buffer)
readHeader in class DeltaBinaryDecoderprotected void allocateDataArray()
allocateDataArray in class DeltaBinaryDecoderprotected void readValue(int i)
readValue in class DeltaBinaryDecoderCopyright © 2022 The Apache Software Foundation. All rights reserved.