public abstract class GorillaDecoderV2 extends Decoder
Copyright: 2016-2018 Michael Burman and/or other contributors
Project page: https://github.com/burmanm/gorilla-tsc
License: http://www.apache.org/licenses/LICENSE-2.0
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
firstValueWasRead |
protected boolean |
hasNext |
protected int |
storedLeadingZeros |
protected int |
storedTrailingZeros |
| Modifier | Constructor and Description |
|---|---|
protected |
GorillaDecoderV2() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
flipByte(ByteBuffer in) |
boolean |
hasNext(ByteBuffer in) |
protected boolean |
readBit(ByteBuffer in)
Reads the next bit and returns a boolean representing it.
|
protected long |
readLong(int bits,
ByteBuffer in)
Reads a long from the next X bits that represent the least significant bits in the long value.
|
protected byte |
readNextClearBit(int maxBits,
ByteBuffer in) |
void |
reset() |
getDecoderByType, getType, readBigDecimal, readBinary, readBoolean, readDouble, readFloat, readInt, readLong, readShort, setTypeprotected boolean firstValueWasRead
protected int storedLeadingZeros
protected int storedTrailingZeros
protected boolean hasNext
public final boolean hasNext(ByteBuffer in)
protected boolean readBit(ByteBuffer in)
protected long readLong(int bits,
ByteBuffer in)
bits - How many next bits are read from the streamprotected byte readNextClearBit(int maxBits,
ByteBuffer in)
protected void flipByte(ByteBuffer in)
Copyright © 2022 The Apache Software Foundation. All rights reserved.