- initialize
Initialize this GenericUDF. This will be called once and only once per
GenericUDF instance.
- evaluate
Evaluate the GenericUDF with the arguments.
- configure
Additionally setup GenericUDF with MapredContext before initializing. This is
only called in runtime
- getUdfName
- close
Close GenericUDF. This is only called in runtime of MapRedTask.
- copyToNewInstance
Some information may be set during initialize() which needs to be saved when the
UDF is copied. This
- getDisplayString
Get the String to be displayed in explain.
- getRequiredFiles
- flip
Some functions like comparisons may be affected by appearing order of arguments.
This is to convert
- getRequiredJars
The following two functions can be overridden to automatically include
additional resources required
- initializeAndFoldConstants
Initialize this GenericUDF. Additionally, if the arguments are constant and the
function is eligible
- getArgOrder