Class SerializableBinaryTVList
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.common.BatchData
-
- org.apache.iotdb.db.mpp.transformation.datastructure.tv.SerializableTVList
-
- org.apache.iotdb.db.mpp.transformation.datastructure.tv.SerializableBinaryTVList
-
- All Implemented Interfaces:
SerializableList
public class SerializableBinaryTVList extends SerializableTVList
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.iotdb.tsfile.read.common.BatchData
org.apache.iotdb.tsfile.read.common.BatchData.BatchDataType
-
Nested classes/interfaces inherited from interface org.apache.iotdb.db.mpp.transformation.datastructure.SerializableList
SerializableList.SerializationRecorder
-
-
Field Summary
Fields Modifier and Type Field Description protected static intMIN_ARRAY_HEADER_SIZEprotected static intMIN_OBJECT_HEADER_SIZE-
Fields inherited from class org.apache.iotdb.db.mpp.transformation.datastructure.tv.SerializableTVList
serializationRecorder
-
Fields inherited from class org.apache.iotdb.tsfile.read.common.BatchData
batchDataType, binaryRet, booleanRet, capacity, CAPACITY_THRESHOLD, count, dataType, doubleRet, floatRet, intRet, longRet, readCurArrayIndex, readCurListIndex, timeRet, vectorRet, writeCurArrayIndex, writeCurListIndex
-
Fields inherited from interface org.apache.iotdb.db.mpp.transformation.datastructure.SerializableList
INITIAL_BYTE_ARRAY_LENGTH_FOR_MEMORY_CONTROL
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSerializableBinaryTVList(SerializableList.SerializationRecorder serializationRecorder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static intcalculateCapacity(float memoryLimitInMB, int byteArrayLength)protected static floatcalculateSingleBinaryTVPairMemory(int byteArrayLength)voiddeserialize(java.nio.ByteBuffer byteBuffer)voidrelease()voidserialize(org.apache.iotdb.tsfile.utils.PublicBAOS outputStream)-
Methods inherited from class org.apache.iotdb.db.mpp.transformation.datastructure.tv.SerializableTVList
calculateCapacity, getSerializationRecorder, init, newSerializableTVList
-
Methods inherited from class org.apache.iotdb.tsfile.read.common.BatchData
currentTime, currentTsPrimitiveType, currentValue, flip, getBatchDataIterator, getBatchDataIterator, getBatchDataType, getBinary, getBinaryByIndex, getBoolean, getBooleanByIndex, getDataType, getDouble, getDoubleByIndex, getFloat, getFloatByIndex, getInt, getIntByIndex, getLastPairBeforeOrEqualTimestamp, getLong, getLongByIndex, getMaxTimestamp, getMinTimestamp, getReadCurArrayIndex, getReadCurListIndex, getTimeByIndex, getValueInTimestamp, getVector, getVectorByIndex, hasCurrent, init, isEmpty, length, next, putAnObject, putBinary, putBoolean, putDouble, putFloat, putInt, putLong, putVector, resetBatchData, resetBatchData, serializeData, setBinary, setBoolean, setDataType, setDouble, setFloat, setInt, setLong, setTime, setVector
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iotdb.db.mpp.transformation.datastructure.SerializableList
deserialize, serialize
-
-
-
-
Field Detail
-
MIN_OBJECT_HEADER_SIZE
protected static final int MIN_OBJECT_HEADER_SIZE
- See Also:
- Constant Field Values
-
MIN_ARRAY_HEADER_SIZE
protected static final int MIN_ARRAY_HEADER_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SerializableBinaryTVList
protected SerializableBinaryTVList(SerializableList.SerializationRecorder serializationRecorder)
-
-
Method Detail
-
calculateCapacity
protected static int calculateCapacity(float memoryLimitInMB, int byteArrayLength)
-
calculateSingleBinaryTVPairMemory
protected static float calculateSingleBinaryTVPairMemory(int byteArrayLength)
-
serialize
public void serialize(org.apache.iotdb.tsfile.utils.PublicBAOS outputStream) throws java.io.IOException- Throws:
java.io.IOException
-
deserialize
public void deserialize(java.nio.ByteBuffer byteBuffer)
-
release
public void release()
-
-