Class UDTFDerivative

    • Constructor Summary

      Constructors 
      Constructor Description
      UDTFDerivative()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void beforeStart​(org.apache.iotdb.udf.api.customizer.parameter.UDFParameters parameters, org.apache.iotdb.udf.api.customizer.config.UDTFConfigurations configurations)  
      void transform​(org.apache.iotdb.udf.api.access.Row row, org.apache.iotdb.udf.api.collector.PointCollector collector)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.iotdb.udf.api.UDF

        beforeDestroy
      • Methods inherited from interface org.apache.iotdb.udf.api.UDTF

        terminate, transform, transform
    • Field Detail

      • previousTime

        protected long previousTime
    • Constructor Detail

      • UDTFDerivative

        public UDTFDerivative()
    • 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.UDFInputSeriesDataTypeNotValidException
        java.io.IOException