Class LongSprintzDecoder
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.decoder.Decoder
-
- org.apache.iotdb.tsfile.encoding.decoder.SprintzDecoder
-
- org.apache.iotdb.tsfile.encoding.decoder.LongSprintzDecoder
-
public class LongSprintzDecoder extends SprintzDecoder
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.tsfile.encoding.decoder.SprintzDecoder
bitWidth, Block_size, currentCount, decodeSize, isBlockReaded, logger
-
-
Constructor Summary
Constructors Constructor Description LongSprintzDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddecodeBlock(java.nio.ByteBuffer in)booleanhasNext(java.nio.ByteBuffer buffer)longreadLong(java.nio.ByteBuffer buffer)protected voidrecalculate()voidreset()-
Methods inherited from class org.apache.iotdb.tsfile.encoding.decoder.Decoder
getDecoderByType, getType, readBigDecimal, readBinary, readBoolean, readDouble, readFloat, readInt, readShort, setType
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext(java.nio.ByteBuffer buffer) throws java.io.IOException
-
reset
public void reset()
- Overrides:
resetin classSprintzDecoder
-
decodeBlock
protected void decodeBlock(java.nio.ByteBuffer in) throws java.io.IOException- Specified by:
decodeBlockin classSprintzDecoder- Throws:
java.io.IOException
-
recalculate
protected void recalculate()
- Specified by:
recalculatein classSprintzDecoder
-
-