Class UDTFExecutor


  • public class UDTFExecutor
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      UDTFExecutor​(java.lang.String functionName, java.time.ZoneId zoneId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void beforeDestroy()  
      void beforeStart​(long queryId, float collectorMemoryBudgetInMB, java.util.List<java.lang.String> childExpressions, java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> childExpressionDataTypes, java.util.Map<java.lang.String,​java.lang.String> attributes)  
      void execute​(org.apache.iotdb.udf.api.access.Row row)  
      void execute​(org.apache.iotdb.udf.api.access.Row row, boolean isCurrentRowNull)  
      void execute​(org.apache.iotdb.udf.api.access.RowWindow rowWindow)  
      ElasticSerializableTVList getCollector()  
      org.apache.iotdb.udf.api.customizer.config.UDTFConfigurations getConfigurations()  
      java.lang.Object getCurrentValue()  
      void terminate()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • functionName

        protected final java.lang.String functionName
      • configurations

        protected final org.apache.iotdb.udf.api.customizer.config.UDTFConfigurations configurations
      • udtf

        protected org.apache.iotdb.udf.api.UDTF udtf
      • currentValue

        protected java.lang.Object currentValue
    • Constructor Detail

      • UDTFExecutor

        public UDTFExecutor​(java.lang.String functionName,
                            java.time.ZoneId zoneId)
    • Method Detail

      • beforeStart

        public void beforeStart​(long queryId,
                                float collectorMemoryBudgetInMB,
                                java.util.List<java.lang.String> childExpressions,
                                java.util.List<org.apache.iotdb.tsfile.file.metadata.enums.TSDataType> childExpressionDataTypes,
                                java.util.Map<java.lang.String,​java.lang.String> attributes)
      • execute

        public void execute​(org.apache.iotdb.udf.api.access.Row row,
                            boolean isCurrentRowNull)
      • execute

        public void execute​(org.apache.iotdb.udf.api.access.Row row)
      • getCurrentValue

        public java.lang.Object getCurrentValue()
      • execute

        public void execute​(org.apache.iotdb.udf.api.access.RowWindow rowWindow)
      • terminate

        public void terminate()
      • beforeDestroy

        public void beforeDestroy()
      • getConfigurations

        public org.apache.iotdb.udf.api.customizer.config.UDTFConfigurations getConfigurations()