Class SinglePrecisionChimpDecoder
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.decoder.Decoder
-
- org.apache.iotdb.tsfile.encoding.decoder.GorillaDecoderV2
-
- org.apache.iotdb.tsfile.encoding.decoder.IntChimpDecoder
-
- org.apache.iotdb.tsfile.encoding.decoder.SinglePrecisionChimpDecoder
-
public class SinglePrecisionChimpDecoder extends IntChimpDecoder
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.IntChimpDecoder
current, storedValues
-
Fields inherited from class org.apache.iotdb.tsfile.encoding.decoder.GorillaDecoderV2
firstValueWasRead, hasNext, storedLeadingZeros, storedTrailingZeros
-
-
Constructor Summary
Constructors Constructor Description SinglePrecisionChimpDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcacheNext(java.nio.ByteBuffer in)floatreadFloat(java.nio.ByteBuffer in)-
Methods inherited from class org.apache.iotdb.tsfile.encoding.decoder.IntChimpDecoder
readInt, 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, readDouble, readLong, readShort, setType
-
-
-
-
Method Detail
-
readFloat
public final float readFloat(java.nio.ByteBuffer in)
-
cacheNext
protected int cacheNext(java.nio.ByteBuffer in)
- Overrides:
cacheNextin classIntChimpDecoder
-
-