NamedUserDefinedFunction2
class NamedUserDefinedFunction2<T1, T2, R>( val name: String, udf: UserDefinedFunction, encoder: Encoder<R>) : UserDefinedFunction2<T1, T2, R> , NamedUserDefinedFunction<R, NamedUserDefinedFunction2<T1, T2, R>>
Instance of a UDF with 2 arguments with name. This UDF can be invoked with (typed) columns in a Dataset.select or selectTyped call. Alternatively it can be registered for SQL calls using register.
See also
Properties
Functions
Link copied to clipboard
abstract operator fun getValue(thisRef: Any?, property: KProperty<*>): NamedUserDefinedFunction2<T1, T2, R>
Converts this UserDefinedFunction to a NamedUserDefinedFunction.
Link copied to clipboard
Link copied to clipboard
Returns an expression that invokes the UDF in untyped manner, using the given arguments.
Link copied to clipboard
Converts this UserDefinedFunction to a NamedUserDefinedFunction.