invoke

operator fun <DsType> invoke(vararg params: <Error class: unknown class><DsType, T>): <Error class: unknown class><DsType, R>

Allows this UDF to be called in typed manner using columns in a Dataset.selectTyped call.

See also

typedCol

to create typed columns.

org.apache.spark.sql.expressions.UserDefinedFunction.apply