Package org.apache.iotdb.udf
Class SlidingTimeWindowAccessStrategyExample
- java.lang.Object
-
- org.apache.iotdb.udf.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
-
-
Constructor Summary
Constructors Constructor Description SlidingTimeWindowAccessStrategyExample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeDestroy()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.RowWindow rowWindow, org.apache.iotdb.udf.api.collector.PointCollector collector)voidvalidate(org.apache.iotdb.udf.api.customizer.parameter.UDFParameterValidator validator)
-
-
-
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:
beforeStartin interfaceorg.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:
transformin interfaceorg.apache.iotdb.udf.api.UDTF- Throws:
java.lang.Exception
-
beforeDestroy
public void beforeDestroy()
- Specified by:
beforeDestroyin interfaceorg.apache.iotdb.udf.api.UDF
-
validate
public void validate(org.apache.iotdb.udf.api.customizer.parameter.UDFParameterValidator validator) throws java.lang.Exception- Specified by:
validatein interfaceorg.apache.iotdb.udf.api.UDF- Throws:
java.lang.Exception
-
-