Class LongGorillaDecoder
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.decoder.Decoder
-
- org.apache.iotdb.tsfile.encoding.decoder.GorillaDecoderV2
-
- org.apache.iotdb.tsfile.encoding.decoder.LongGorillaDecoder
-
- Direct Known Subclasses:
DoublePrecisionDecoderV2
public class LongGorillaDecoder extends GorillaDecoderV2
This class includes code modified from Michael Burman's gorilla-tsc project.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
-
-
Field Summary
Fields Modifier and Type Field Description protected longstoredValue-
Fields inherited from class org.apache.iotdb.tsfile.encoding.decoder.GorillaDecoderV2
firstValueWasRead, hasNext, storedLeadingZeros, storedTrailingZeros
-
-
Constructor Summary
Constructors Constructor Description LongGorillaDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longcacheNext(java.nio.ByteBuffer in)longreadLong(java.nio.ByteBuffer in)protected longreadNext(java.nio.ByteBuffer in)voidreset()-
Methods inherited from class org.apache.iotdb.tsfile.encoding.decoder.GorillaDecoderV2
flipByte, hasNext, readBit, readLong, readNextClearBit
-
Methods inherited from class org.apache.iotdb.tsfile.encoding.decoder.Decoder
getDecoderByType, getType, readBigDecimal, readBinary, readBoolean, readDouble, readFloat, readInt, readShort, setType
-
-
-
-
Method Detail
-
reset
public void reset()
- Overrides:
resetin classGorillaDecoderV2
-
cacheNext
protected long cacheNext(java.nio.ByteBuffer in)
-
readNext
protected long readNext(java.nio.ByteBuffer in)
-
-