Named User Defined Function Vararg
class NamedUserDefinedFunctionVararg<T, R>( val name: String, udf: UserDefinedFunction, encoder: Encoder<R>) : UserDefinedFunctionVararg<T, R> , NamedUserDefinedFunction<R, NamedUserDefinedFunctionVararg<T, R>>
Content copied to clipboard
Instance of a UDF with vararg arguments of the same type 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
org. apache. spark. sql. expressions. User Defined Function
org. jetbrains. kotlinx. spark. api. Named User Defined Function Vararg
Constructors
Link copied to clipboard
fun <R> NamedUserDefinedFunctionVararg( name: String, udf: UserDefinedFunction, encoder: Encoder<R>)
Content copied to clipboard
Functions
Link copied to clipboard
abstract operator fun getValue(thisRef: Any?, property: KProperty<*>): NamedUserDefinedFunctionVararg<T, R>
Content copied to clipboard
Converts this UserDefinedFunction to a NamedUserDefinedFunction.
Link copied to clipboard
abstract fun withName(name: String): NamedUserDefinedFunctionVararg<T, R>
Content copied to clipboard
Converts this UserDefinedFunction to a NamedUserDefinedFunction.