Class UDTFDerivative
- java.lang.Object
-
- org.apache.iotdb.commons.udf.builtin.UDTFValueTrend
-
- org.apache.iotdb.commons.udf.builtin.UDTFDerivative
-
- All Implemented Interfaces:
org.apache.iotdb.udf.api.UDF,org.apache.iotdb.udf.api.UDTF
- Direct Known Subclasses:
UDTFCommonDerivative,UDTFNonNegativeDerivative
public abstract class UDTFDerivative extends UDTFValueTrend
-
-
Field Summary
Fields Modifier and Type Field Description protected longpreviousTime-
Fields inherited from class org.apache.iotdb.commons.udf.builtin.UDTFValueTrend
dataType, hasPrevious, previousDouble, previousFloat, previousInt, previousLong
-
-
Constructor Summary
Constructors Constructor Description UDTFDerivative()
-
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)-
Methods inherited from class org.apache.iotdb.commons.udf.builtin.UDTFValueTrend
doTransform, updatePreviousValue, validate
-
-
-
-
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- 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- Throws:
org.apache.iotdb.udf.api.exception.UDFInputSeriesDataTypeNotValidExceptionjava.io.IOException
-
-