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(ByteBuffer in)booleanhasNext(ByteBuffer buffer)longreadLong(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(ByteBuffer buffer) throws IOException
- Specified by:
hasNextin classDecoder- Throws:
IOException
-
reset
public void reset()
- Overrides:
resetin classSprintzDecoder
-
decodeBlock
protected void decodeBlock(ByteBuffer in) throws IOException
- Specified by:
decodeBlockin classSprintzDecoder- Throws:
IOException
-
recalculate
protected void recalculate()
- Specified by:
recalculatein classSprintzDecoder
-
readLong
public long readLong(ByteBuffer buffer)
-
-