Class SprintzDecoder
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.decoder.Decoder
-
- org.apache.iotdb.tsfile.encoding.decoder.SprintzDecoder
-
- Direct Known Subclasses:
DoubleSprintzDecoder,FloatSprintzDecoder,IntSprintzDecoder,LongSprintzDecoder
public abstract class SprintzDecoder extends Decoder
-
-
Field Summary
Fields Modifier and Type Field Description protected intbitWidthprotected intBlock_sizeprotected intcurrentCountprotected intdecodeSizeprotected booleanisBlockReadedprotected static org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description SprintzDecoder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voiddecodeBlock(ByteBuffer in)protected abstract voidrecalculate()voidreset()-
Methods inherited from class org.apache.iotdb.tsfile.encoding.decoder.Decoder
getDecoderByType, getType, hasNext, readBigDecimal, readBinary, readBoolean, readDouble, readFloat, readInt, readLong, readShort, setType
-
-
-
-
Method Detail
-
decodeBlock
protected abstract void decodeBlock(ByteBuffer in) throws IOException
- Throws:
IOException
-
recalculate
protected abstract void recalculate()
-
-