Named User Defined Function0
class NamedUserDefinedFunction0<R>( val name: String, udf: <Error class: unknown class>, encoder: <Error class: unknown class><R>) : UserDefinedFunction0<R> , NamedUserDefinedFunction<R, NamedUserDefinedFunction0<R>>
Content copied to clipboard
Instance of a UDF with 0 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
org. apache. spark. sql. expressions. User Defined Function
org. jetbrains. kotlinx. spark. api. Named User Defined Function0
Constructors
Link copied to clipboard
fun <R> NamedUserDefinedFunction0( name: String, udf: <Error class: unknown class>, encoder: <Error class: unknown class><R>)
Content copied to clipboard
Functions
Link copied to clipboard
abstract operator fun getValue(thisRef: Any?, property: KProperty<*>): NamedUserDefinedFunction0<R>
Content copied to clipboard
Converts this UserDefinedFunction to a NamedUserDefinedFunction.
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.