Class UDTFAbs
- java.lang.Object
-
- org.apache.iotdb.commons.udf.builtin.UDTFMath
-
- org.apache.iotdb.commons.udf.builtin.UDTFAbs
-
- All Implemented Interfaces:
org.apache.iotdb.udf.api.UDF,org.apache.iotdb.udf.api.UDTF
public class UDTFAbs extends UDTFMath
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.iotdb.commons.udf.builtin.UDTFMath
UDTFMath.Transformer
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.commons.udf.builtin.UDTFMath
dataType, transformer
-
-
Constructor Summary
Constructors Constructor Description UDTFAbs()
-
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)protected voidsetTransformer()java.lang.Objecttransform(org.apache.iotdb.udf.api.access.Row row)voidtransform(org.apache.iotdb.udf.api.access.Row row, org.apache.iotdb.udf.api.collector.PointCollector collector)
-
-
-
Method Detail
-
beforeStart
public void beforeStart(org.apache.iotdb.udf.api.customizer.parameter.UDFParameters parameters, org.apache.iotdb.udf.api.customizer.config.UDTFConfigurations configurations) throws MetadataException- Specified by:
beforeStartin interfaceorg.apache.iotdb.udf.api.UDTF- Overrides:
beforeStartin classUDTFMath- Throws:
MetadataException
-
transform
public void transform(org.apache.iotdb.udf.api.access.Row row, org.apache.iotdb.udf.api.collector.PointCollector collector) throws org.apache.iotdb.udf.api.exception.UDFInputSeriesDataTypeNotValidException, java.io.IOException
-
transform
public java.lang.Object transform(org.apache.iotdb.udf.api.access.Row row) throws java.io.IOException
-
setTransformer
protected void setTransformer()
- Specified by:
setTransformerin classUDTFMath
-
-