User Defined Function0
open class UserDefinedFunction0<R>(val udf: UserDefinedFunction, val encoder: Encoder<R>) : UserDefinedFunction<R, NamedUserDefinedFunction0<R>>
Content copied to clipboard
Instance of a UDF with 0 arguments. 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
Constructors
Link copied to clipboard
fun <R> UserDefinedFunction0(udf: UserDefinedFunction, encoder: Encoder<R>)
Content copied to clipboard
Functions
Link copied to clipboard
Returns an expression that invokes the UDF in untyped manner, using the given arguments.
Link copied to clipboard
Returns named variant of this UDF.