NamedUserDefinedFunction1
class NamedUserDefinedFunction1<T1, R>( val name: String, udf: UserDefinedFunction, encoder: Encoder<R>) : UserDefinedFunction1<T1, R> , NamedUserDefinedFunction<R, NamedUserDefinedFunction1<T1, R>>
Instance of a UDF with 1 argument 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<*>): NamedUserDefinedFunction1<T1, R>
Converts this UserDefinedFunction to a NamedUserDefinedFunction.
Link copied to clipboard
Returns an expression that invokes the UDF in untyped manner, using the given arguments.
Allows this UDF to be called in typed manner using columns in a Dataset.selectTyped call.
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.