public interface ScalarUdf
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(java.lang.Object... args)
Actual implementation of the udf function
|
void |
init(Config udfConfig)
Udfs can implement this method to perform any initialization that they may need.
|
void init(Config udfConfig)
udfConfig
- Config specific to the udf.java.lang.Object execute(java.lang.Object... args)
args
- list of all arguments that the udf needs