Class RLBE
- java.lang.Object
-
- org.apache.iotdb.tsfile.encoding.encoder.Encoder
-
- org.apache.iotdb.tsfile.encoding.encoder.RLBE
-
- Direct Known Subclasses:
DoubleRLBE,FloatRLBE,IntRLBE,LongRLBE
public class RLBE extends Encoder
-
-
Field Summary
Fields Modifier and Type Field Description protected static intBLOCK_DEFAULT_SIZEprotected intblockSizeprotected bytebyteBufferprotected int[]LengthCodeprotected static org.slf4j.Loggerloggerprotected intnumberLeftInBufferprotected java.io.ByteArrayOutputStreamoutprotected intwriteIndex-
Fields inherited from class org.apache.iotdb.tsfile.encoding.encoder.Encoder
MAX_POINT_NUMBER, MAX_STRING_LENGTH
-
-
Constructor Summary
Constructors Constructor Description RLBE()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush(java.io.ByteArrayOutputStream out)Write all values buffered in memory cache to OutputStream.
-
-
-
Field Detail
-
BLOCK_DEFAULT_SIZE
protected static final int BLOCK_DEFAULT_SIZE
- See Also:
- Constant Field Values
-
logger
protected static final org.slf4j.Logger logger
-
out
protected java.io.ByteArrayOutputStream out
-
blockSize
protected int blockSize
-
byteBuffer
protected byte byteBuffer
-
numberLeftInBuffer
protected int numberLeftInBuffer
-
LengthCode
protected int[] LengthCode
-
writeIndex
protected int writeIndex
-
-