NamedUserDefinedFunction6

class NamedUserDefinedFunction6<T1, T2, T3, T4, T5, T6, R>(    val name: String,     udf: UserDefinedFunction,     encoder: Encoder<R>) : UserDefinedFunction6<T1, T2, T3, T4, T5, T6, R> , NamedUserDefinedFunction<R, NamedUserDefinedFunction6<T1, T2, T3, T4, T5, T6, R>>

Instance of a UDF with 6 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

Constructors

Link copied to clipboard
constructor(name: String, udf: UserDefinedFunction, encoder: Encoder<R>)

Properties

Link copied to clipboard

Returns true iff the UDF is deterministic, i.e. the UDF produces the same output given the same input.

Link copied to clipboard
abstract val encoder: Encoder<R>
Link copied to clipboard
open override val name: String
Link copied to clipboard
open val nullable: Boolean

Returns true when the UDF can return a nullable value.

Link copied to clipboard
abstract val udf: UserDefinedFunction

Functions

Link copied to clipboard
abstract operator fun getValue(thisRef: Any?, property: KProperty<*>): NamedUserDefinedFunction6<T1, T2, T3, T4, T5, T6, R>
Link copied to clipboard
operator fun invoke(param0: Column, param1: Column, param2: Column, param3: Column, param4: Column, param5: Column): Column

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>,     param4: TypedColumn<DsType, T5>,     param5: TypedColumn<DsType, T6>): TypedColumn<DsType, R>

Allows this UDF to be called in typed manner using columns in a Dataset.selectTyped call.

Link copied to clipboard
fun invokeUntyped(param0: Column, param1: Column, param2: Column, param3: Column, param4: Column, param5: Column): Column

Returns an expression that invokes the UDF in untyped manner, using the given arguments.

Link copied to clipboard