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 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)
-
-
-
Field Detail
-
START
public static final String START
- See Also:
- Constant Field Values
-
END
public static final String END
- See Also:
- Constant Field Values
-
STEP
public static final String STEP
- See Also:
- Constant Field Values
-
INTERVAL
public static final String INTERVAL
- See Also:
- Constant Field Values
-
-
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:
beforeStartin interfaceorg.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:
transformin interfaceorg.apache.iotdb.udf.api.UDTF- Throws:
Exception
-
beforeDestroy
public void beforeDestroy()
- Specified by:
beforeDestroyin interfaceorg.apache.iotdb.udf.api.UDF
-
-