Class LongChimpDecoder
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.decoder.Decoder
-
- org.apache.iotdb.tsfile.encoding.decoder.GorillaDecoderV2
-
- org.apache.iotdb.tsfile.encoding.decoder.LongChimpDecoder
-
- Direct Known Subclasses:
DoublePrecisionChimpDecoder
public class LongChimpDecoder extends GorillaDecoderV2
This class includes code modified from Panagiotis Liakos chimp project.Copyright: 2022- Panagiotis Liakos, Katia Papakonstantinopoulou and Yannis Kotidis
Project page: https://github.com/panagiotisl/chimp
License: http://www.apache.org/licenses/LICENSE-2.0
-
-
Field Summary
Fields Modifier and Type Field Description protected intcurrentprotected long[]storedValues-
Fields inherited from class org.apache.iotdb.tsfile.encoding.decoder.GorillaDecoderV2
firstValueWasRead, hasNext, storedLeadingZeros, storedTrailingZeros
-
-
Constructor Summary
Constructors Constructor Description LongChimpDecoder()
-
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)
-
-