invoke

operator fun <DsType> invoke(param0: TypedColumn<DsType, T1>): 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

operator fun invoke(param0: Column): Column

Returns an expression that invokes the UDF in untyped manner, using the given arguments.

See also

UserDefinedFunction.apply