Class DoublePrecisionChimpDecoder
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.decoder.Decoder
-
- org.apache.iotdb.tsfile.encoding.decoder.GorillaDecoderV2
-
- org.apache.iotdb.tsfile.encoding.decoder.LongChimpDecoder
-
- org.apache.iotdb.tsfile.encoding.decoder.DoublePrecisionChimpDecoder
-
public class DoublePrecisionChimpDecoder extends LongChimpDecoder
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 inherited from class org.apache.iotdb.tsfile.encoding.decoder.LongChimpDecoder
current, storedValues
-
Fields inherited from class org.apache.iotdb.tsfile.encoding.decoder.GorillaDecoderV2
firstValueWasRead, hasNext, storedLeadingZeros, storedTrailingZeros
-
-
Constructor Summary
Constructors Constructor Description DoublePrecisionChimpDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longcacheNext(java.nio.ByteBuffer in)doublereadDouble(java.nio.ByteBuffer in)-
Methods inherited from class org.apache.iotdb.tsfile.encoding.decoder.LongChimpDecoder
readLong, readNext, reset
-
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, readFloat, readInt, readShort, setType
-
-
-
-
Method Detail
-
readDouble
public final double readDouble(java.nio.ByteBuffer in)
- Overrides:
readDoublein classDecoder
-
cacheNext
protected long cacheNext(java.nio.ByteBuffer in)
- Overrides:
cacheNextin classLongChimpDecoder
-
-