Class RegularDataDecoder
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.decoder.Decoder
-
- org.apache.iotdb.tsfile.encoding.decoder.RegularDataDecoder
-
- Direct Known Subclasses:
RegularDataDecoder.IntRegularDecoder,RegularDataDecoder.LongRegularDecoder
public abstract class RegularDataDecoder extends Decoder
This class is a decoder for decoding the byte array that encoded byRegularDataEncoder. RegularDataDecoder only supports integer and long values.
.- See Also:
RegularDataEncoder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRegularDataDecoder.IntRegularDecoderstatic classRegularDataDecoder.LongRegularDecoder
-
Field Summary
Fields Modifier and Type Field Description protected intnextReadIndexprotected intpackNumdata number in this pack.protected intreadIntTotalCountthe first value in one pack.
-
Constructor Summary
Constructors Constructor Description RegularDataDecoder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidallocateDataArray()booleanhasNext(java.nio.ByteBuffer buffer)protected abstract voidreadHeader(java.nio.ByteBuffer buffer)protected abstract voidreadValue(int i)-
Methods inherited from class org.apache.iotdb.tsfile.encoding.decoder.Decoder
getDecoderByType, getType, readBigDecimal, readBinary, readBoolean, readDouble, readFloat, readInt, readLong, readShort, reset, setType
-
-