public static class RegularDataDecoder.LongRegularDecoder extends RegularDataDecoder
RegularDataDecoder.IntRegularDecoder, RegularDataDecoder.LongRegularDecodernextReadIndex, packNum, readIntTotalCount| Constructor and Description |
|---|
LongRegularDecoder() |
| 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 long |
loadWithBitmap(ByteBuffer buffer)
load the data with bitmap (when bitmap denote the element with false, load next element)
|
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() |
hasNextgetDecoderByType, getType, readBigDecimal, readBinary, readBoolean, readDouble, readFloat, readInt, readShort, setTypeprotected long readT(ByteBuffer buffer)
data.buffer - ByteBufferprotected long loadWithBitmap(ByteBuffer buffer)
buffer - protected long loadIntBatch(ByteBuffer buffer)
buffer - ByteBufferpublic long readLong(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.