Class SlidingTimeWindowAccessStrategyExample

  • All Implemented Interfaces:
    org.apache.iotdb.udf.api.UDF, org.apache.iotdb.udf.api.UDTF

    public class SlidingTimeWindowAccessStrategyExample
    extends java.lang.Object
    implements org.apache.iotdb.udf.api.UDTF
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void beforeDestroy()  
      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.RowWindow rowWindow, 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.UDTF

        terminate, transform, transform
    • Constructor Detail

      • SlidingTimeWindowAccessStrategyExample

        public SlidingTimeWindowAccessStrategyExample()
    • 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 java.lang.Exception
        Specified by:
        beforeStart in interface org.apache.iotdb.udf.api.UDTF
        Throws:
        java.lang.Exception
      • transform

        public void transform​(org.apache.iotdb.udf.api.access.RowWindow rowWindow,
                              org.apache.iotdb.udf.api.collector.PointCollector collector)
                       throws java.lang.Exception
        Specified by:
        transform in interface org.apache.iotdb.udf.api.UDTF
        Throws:
        java.lang.Exception
      • beforeDestroy

        public void beforeDestroy()
        Specified by:
        beforeDestroy in interface org.apache.iotdb.udf.api.UDF
      • validate

        public void validate​(org.apache.iotdb.udf.api.customizer.parameter.UDFParameterValidator validator)
                      throws java.lang.Exception
        Specified by:
        validate in interface org.apache.iotdb.udf.api.UDF
        Throws:
        java.lang.Exception