Class SlidingTimeWindowAccessStrategyExample

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

    public class SlidingTimeWindowAccessStrategyExample
    extends Object
    implements org.apache.iotdb.udf.api.UDTF
    • 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 Exception
        Specified by:
        beforeStart in interface org.apache.iotdb.udf.api.UDTF
        Throws:
        Exception
      • transform

        public void transform​(org.apache.iotdb.udf.api.access.RowWindow rowWindow,
                              org.apache.iotdb.udf.api.collector.PointCollector collector)
                       throws Exception
        Specified by:
        transform in interface org.apache.iotdb.udf.api.UDTF
        Throws:
        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 Exception
        Specified by:
        validate in interface org.apache.iotdb.udf.api.UDF
        Throws:
        Exception