Class UDTFMath

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected static interface  UDTFMath.Transformer  
    • Constructor Summary

      Constructors 
      Constructor Description
      UDTFMath()  
    • Method Summary

      All Methods Instance Methods Abstract 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)  
      protected abstract void setTransformer()  
      java.lang.Object transform​(org.apache.iotdb.udf.api.access.Row row)  
      void transform​(org.apache.iotdb.udf.api.access.Row row, org.apache.iotdb.udf.api.collector.PointCollector collector)  
      void validate​(org.apache.iotdb.udf.api.customizer.parameter.UDFParameterValidator validator)  
      • 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
    • Field Detail

      • dataType

        protected org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType
    • Constructor Detail

      • UDTFMath

        public UDTFMath()
    • Method Detail

      • validate

        public void validate​(org.apache.iotdb.udf.api.customizer.parameter.UDFParameterValidator validator)
                      throws org.apache.iotdb.udf.api.exception.UDFException
        Specified by:
        validate in interface org.apache.iotdb.udf.api.UDF
        Throws:
        org.apache.iotdb.udf.api.exception.UDFException
      • 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:
        beforeStart in interface org.apache.iotdb.udf.api.UDTF
        Throws:
        MetadataException
      • setTransformer

        protected abstract void setTransformer()
      • 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
        Specified by:
        transform in interface org.apache.iotdb.udf.api.UDTF
        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
        Specified by:
        transform in interface org.apache.iotdb.udf.api.UDTF
        Throws:
        java.io.IOException