Class ElasticSerializableBinaryTVList
- java.lang.Object
-
- org.apache.iotdb.db.mpp.transformation.datastructure.tv.ElasticSerializableTVList
-
- org.apache.iotdb.db.mpp.transformation.datastructure.tv.ElasticSerializableBinaryTVList
-
- All Implemented Interfaces:
org.apache.iotdb.udf.api.collector.PointCollector
public class ElasticSerializableBinaryTVList extends ElasticSerializableTVList
-
-
Field Summary
Fields Modifier and Type Field Description protected intbyteArrayLengthForMemoryControlprotected static intMEMORY_CHECK_THRESHOLDprotected longtotalByteArrayLengthprotected longtotalByteArrayLengthLimit-
Fields inherited from class org.apache.iotdb.db.mpp.transformation.datastructure.tv.ElasticSerializableTVList
bitMaps, cache, cacheSize, dataType, evictionUpperBound, internalTVListCapacity, memoryLimitInMB, queryId, size, tvLists
-
-
Constructor Summary
Constructors Constructor Description ElasticSerializableBinaryTVList(long queryId, float memoryLimitInMB, int cacheSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyNewMemoryControlParameters(int newByteArrayLengthForMemoryControl, int newInternalTVListCapacity)protected voidcheckMemoryUsage()voidputBinary(long timestamp, org.apache.iotdb.udf.api.type.Binary value)voidputString(long timestamp, java.lang.String value)-
Methods inherited from class org.apache.iotdb.db.mpp.transformation.datastructure.tv.ElasticSerializableTVList
constructPointReaderUsingTrivialEvictionStrategy, getBinary, getBoolean, getDataType, getDouble, getFloat, getInt, getLong, getString, getTime, isNull, newElasticSerializableTVList, put, putBoolean, putDouble, putFloat, putInt, putLong, putNull, setEvictionUpperBound, size
-
-
-
-
Field Detail
-
MEMORY_CHECK_THRESHOLD
protected static final int MEMORY_CHECK_THRESHOLD
- See Also:
- Constant Field Values
-
byteArrayLengthForMemoryControl
protected int byteArrayLengthForMemoryControl
-
totalByteArrayLengthLimit
protected long totalByteArrayLengthLimit
-
totalByteArrayLength
protected long totalByteArrayLength
-
-
Method Detail
-
putBinary
public void putBinary(long timestamp, org.apache.iotdb.udf.api.type.Binary value) throws java.io.IOException- Specified by:
putBinaryin interfaceorg.apache.iotdb.udf.api.collector.PointCollector- Overrides:
putBinaryin classElasticSerializableTVList- Throws:
java.io.IOException
-
putString
public void putString(long timestamp, java.lang.String value) throws java.io.IOException- Specified by:
putStringin interfaceorg.apache.iotdb.udf.api.collector.PointCollector- Overrides:
putStringin classElasticSerializableTVList- Throws:
java.io.IOException
-
checkMemoryUsage
protected void checkMemoryUsage() throws java.io.IOException- Throws:
java.io.IOException
-
applyNewMemoryControlParameters
protected void applyNewMemoryControlParameters(int newByteArrayLengthForMemoryControl, int newInternalTVListCapacity) throws java.io.IOException- Throws:
java.io.IOException
-
-