invoke
Allows this UDF to be called in typed manner using columns in a Dataset.selectTyped call.
See also
typedCol
to create typed columns.
UserDefinedFunction.apply
Returns an expression that invokes the UDF in untyped manner, using the given arguments.
See also
UserDefinedFunction.apply