public static class RegularDataDecoder.IntRegularDecoder extends RegularDataDecoder
RegularDataDecoder.IntRegularDecoder, RegularDataDecoder.LongRegularDecodernextReadIndex, packNum, readIntTotalCount| Constructor and Description |
|---|
IntRegularDecoder() |
| 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 int |
loadWithBitmap(ByteBuffer buffer)
load the data with bitmap (when bitmap denote the element with false, load next element)
|
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() |
hasNextgetDecoderByType, getType, readBigDecimal, readBinary, readBoolean, readDouble, readFloat, readLong, readShort, setTypeprotected int readT(ByteBuffer buffer)
data.buffer - ByteBufferprotected int loadWithBitmap(ByteBuffer buffer)
buffer - protected int loadIntBatch(ByteBuffer buffer)
buffer - ByteBufferpublic int readInt(ByteBuffer buffer)
protected void readHeader(ByteBuffer buffer)
readHeader in class RegularDataDecoderprotected void allocateDataArray()
allocateDataArray in class RegularDataDecoderprotected void readValue(int i)
readValue in class RegularDataDecoderCopyright © 2022 The Apache Software Foundation. All rights reserved.