public interface ScalarUdf<T>
| Modifier and Type | Method and Description | 
|---|---|
| T | 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.T execute(java.lang.Object... args)
args - list of all arguments that the udf needs