Package org.apache.iotdb.udf.api
Interface UDF
-
- All Known Subinterfaces:
UDTF
public interface UDF
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidbeforeDestroy()This method is mainly used to release the resources used in the UDF.default voidvalidate(UDFParameterValidator validator)This method is mainly used to validateUDFParametersand it is executed beforeUDTF.beforeStart(UDFParameters, UDTFConfigurations)is called.
-
-
-
Method Detail
-
validate
default void validate(UDFParameterValidator validator) throws java.lang.Exception
This method is mainly used to validateUDFParametersand it is executed beforeUDTF.beforeStart(UDFParameters, UDTFConfigurations)is called.- Parameters:
validator- the validator used to validateUDFParameters- Throws:
java.lang.Exception- if any parameter is not valid
-
beforeDestroy
default void beforeDestroy()
This method is mainly used to release the resources used in the UDF.
-
-