invoke

operator fun <DsType> invoke(vararg params: TypedColumn<DsType, T>): TypedColumn<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.

UserDefinedFunction.apply