Class ElasticSerializableBinaryTVList

  • All Implemented Interfaces:
    org.apache.iotdb.udf.api.collector.PointCollector

    public class ElasticSerializableBinaryTVList
    extends ElasticSerializableTVList
    • 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
    • Constructor Detail

      • ElasticSerializableBinaryTVList

        public ElasticSerializableBinaryTVList​(long queryId,
                                               float memoryLimitInMB,
                                               int cacheSize)
    • Method Detail

      • putBinary

        public void putBinary​(long timestamp,
                              org.apache.iotdb.udf.api.type.Binary value)
                       throws java.io.IOException
        Specified by:
        putBinary in interface org.apache.iotdb.udf.api.collector.PointCollector
        Overrides:
        putBinary in class ElasticSerializableTVList
        Throws:
        java.io.IOException
      • putString

        public void putString​(long timestamp,
                              java.lang.String value)
                       throws java.io.IOException
        Specified by:
        putString in interface org.apache.iotdb.udf.api.collector.PointCollector
        Overrides:
        putString in class ElasticSerializableTVList
        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