public static class DeltaBinaryDecoder.IntDeltaDecoder extends DeltaBinaryDecoder
DeltaBinaryDecoder.IntDeltaDecoder, DeltaBinaryDecoder.LongDeltaDecodercount, deltaBuf, encodingLength, nextReadIndex, packNum, packWidth, readIntTotalCount| Constructor and Description |
|---|
IntDeltaDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
allocateDataArray() |
protected int |
loadIntBatch(ByteBuffer buffer)
if remaining data has been run out, load next pack from InputStream.
|
protected void |
readHeader(ByteBuffer buffer) |
int |
readInt(ByteBuffer buffer) |
protected int |
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, readLong, readShort, setTypeprotected int readT(ByteBuffer buffer)
data.buffer - ByteBufferpublic int readInt(ByteBuffer buffer)
protected int loadIntBatch(ByteBuffer buffer)
buffer - ByteBufferprotected 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.