Class SinglePrecisionDecoderV2
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.decoder.Decoder
-
- org.apache.iotdb.tsfile.encoding.decoder.GorillaDecoderV2
-
- org.apache.iotdb.tsfile.encoding.decoder.IntGorillaDecoder
-
- org.apache.iotdb.tsfile.encoding.decoder.SinglePrecisionDecoderV2
-
public class SinglePrecisionDecoderV2 extends IntGorillaDecoder
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 inherited from class org.apache.iotdb.tsfile.encoding.decoder.IntGorillaDecoder
storedValue
-
Fields inherited from class org.apache.iotdb.tsfile.encoding.decoder.GorillaDecoderV2
firstValueWasRead, hasNext, storedLeadingZeros, storedTrailingZeros
-
-
Constructor Summary
Constructors Constructor Description SinglePrecisionDecoderV2()
-
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.IntGorillaDecoder
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 classIntGorillaDecoder
-
-