Class UDTFExecutor
- java.lang.Object
-
- org.apache.iotdb.db.mpp.transformation.dag.udf.UDTFExecutor
-
public class UDTFExecutor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ElasticSerializableTVListcollectorprotected org.apache.iotdb.udf.api.customizer.config.UDTFConfigurationsconfigurationsprotected java.lang.ObjectcurrentValueprotected java.lang.StringfunctionNameprotected org.apache.iotdb.udf.api.UDTFudtf
-
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 voidbeforeDestroy()voidbeforeStart(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)voidexecute(org.apache.iotdb.udf.api.access.Row row)voidexecute(org.apache.iotdb.udf.api.access.Row row, boolean isCurrentRowNull)voidexecute(org.apache.iotdb.udf.api.access.RowWindow rowWindow)ElasticSerializableTVListgetCollector()org.apache.iotdb.udf.api.customizer.config.UDTFConfigurationsgetConfigurations()java.lang.ObjectgetCurrentValue()voidterminate()
-
-
-
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
-
collector
protected ElasticSerializableTVList collector
-
currentValue
protected java.lang.Object currentValue
-
-
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()
-
getCollector
public ElasticSerializableTVList getCollector()
-
-