Class SprintzEncoder
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.encoder.Encoder
-
- org.apache.iotdb.tsfile.encoding.encoder.SprintzEncoder
-
- Direct Known Subclasses:
DoubleSprintzEncoder,FloatSprintzEncoder,IntSprintzEncoder,LongSprintzEncoder
public abstract class SprintzEncoder extends Encoder
-
-
Field Summary
Fields Modifier and Type Field Description protected intbitWidthprotected intBlock_sizeprotected java.io.ByteArrayOutputStreambyteCacheoutput stream to buffer<bitwidth> <encoded-data>.protected TSFileConfigconfigprotected intgroupMaxprotected intgroupNumprotected booleanisFirstCachedprotected static org.slf4j.Loggerloggerprotected java.lang.StringpredictMethod-
Fields inherited from class org.apache.iotdb.tsfile.encoding.encoder.Encoder
MAX_POINT_NUMBER, MAX_STRING_LENGTH
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSprintzEncoder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidbitPack()protected voidreset()
-
-
-
Field Detail
-
logger
protected static final org.slf4j.Logger logger
-
Block_size
protected int Block_size
-
groupMax
protected int groupMax
-
groupNum
protected int groupNum
-
bitWidth
protected int bitWidth
-
byteCache
protected java.io.ByteArrayOutputStream byteCache
output stream to buffer<bitwidth> <encoded-data>.
-
predictMethod
protected java.lang.String predictMethod
-
isFirstCached
protected boolean isFirstCached
-
config
protected TSFileConfig config
-
-