NamedUserDefinedFunction4
class NamedUserDefinedFunction4<T1, T2, T3, T4, R>( val name: String, udf: UserDefinedFunction, encoder: Encoder<R>) : UserDefinedFunction4<T1, T2, T3, T4, R> , NamedUserDefinedFunction<R, NamedUserDefinedFunction4<T1, T2, T3, T4, R>>
Instance of a UDF with 4 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<*>): NamedUserDefinedFunction4<T1, T2, T3, T4, 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.
operator fun <DsType> invoke( param0: TypedColumn<DsType, T1>, param1: TypedColumn<DsType, T2>, param2: TypedColumn<DsType, T3>, param3: TypedColumn<DsType, T4>): TypedColumn<DsType, R>
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.