Package org.apache.iotdb.udf
Class UDTFExample
- java.lang.Object
-
- org.apache.iotdb.udf.UDTFExample
-
- All Implemented Interfaces:
org.apache.iotdb.udf.api.UDF,org.apache.iotdb.udf.api.UDTF
public class UDTFExample extends java.lang.Object implements org.apache.iotdb.udf.api.UDTFThis is an internal example of the UDTF implementation.
-
-
Constructor Summary
Constructors Constructor Description UDTFExample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeStart(org.apache.iotdb.udf.api.customizer.parameter.UDFParameters parameters, org.apache.iotdb.udf.api.customizer.config.UDTFConfigurations configurations)voidtransform(org.apache.iotdb.udf.api.access.Row row, org.apache.iotdb.udf.api.collector.PointCollector collector)voidvalidate(org.apache.iotdb.udf.api.customizer.parameter.UDFParameterValidator validator)
-
-
-
Method Detail
-
validate
public void validate(org.apache.iotdb.udf.api.customizer.parameter.UDFParameterValidator validator) throws java.lang.Exception- Specified by:
validatein interfaceorg.apache.iotdb.udf.api.UDF- Throws:
java.lang.Exception
-
beforeStart
public void beforeStart(org.apache.iotdb.udf.api.customizer.parameter.UDFParameters parameters, org.apache.iotdb.udf.api.customizer.config.UDTFConfigurations configurations)- Specified by:
beforeStartin interfaceorg.apache.iotdb.udf.api.UDTF
-
transform
public void transform(org.apache.iotdb.udf.api.access.Row row, org.apache.iotdb.udf.api.collector.PointCollector collector) throws java.io.IOException- Specified by:
transformin interfaceorg.apache.iotdb.udf.api.UDTF- Throws:
java.io.IOException
-
-