register
Registers agg as a UDAF for SQL. Returns the UDAF as NamedUserDefinedFunction. Obtains a NamedUserDefinedFunction1 that wraps the given agg so that it may be used with Data Frames.
Return
a NamedUserDefinedFunction1 that can be used as an aggregating expression
Parameters
the given Aggregator to convert into a UDAF. Can also be created using aggregatorOf.
Optional. Tries to obtain name from the class of agg if not supplied. Use udafUnnamed if no name is wanted.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Registers a UDAF for SQL based on the given arguments. Returns the UDAF as NamedUserDefinedFunction. Obtains a NamedUserDefinedFunction1 that wraps the given agg so that it may be used with Data Frames.
Return
a NamedUserDefinedFunction1 that can be used as an aggregating expression.
Parameters
Optional. Name for the UDAF.
A zero value for this aggregation. Should satisfy the property that any b + zero = b.
Combine two values to produce a new value. For performance, the function may modify b
and return it instead of constructing new object for b.
Merge two intermediate values.
Transform the output of the reduction.
Optional. Specifies the Encoder
for the intermediate value type.
Optional. Specifies the Encoder
for the final output value type.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Registers a user-defined function (UDF) with name, for a UDF that's already defined using the Dataset API (i.e. of type NamedUserDefinedFunction).
See also
Defines and registers a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf.register("myUdf") { t1: ByteArray -> ... }
If you want to process a column containing an ByteArray instead, use WrappedArray
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
If you want to process a column containing an ByteArray instead, use WrappedArray
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
If you want to process a column containing an ByteArray instead, use WrappedArray
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf.register("myUdf") { t1: ShortArray -> ... }
If you want to process a column containing an ShortArray instead, use WrappedArray
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
If you want to process a column containing an ShortArray instead, use WrappedArray
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
If you want to process a column containing an ShortArray instead, use WrappedArray
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf.register("myUdf") { t1: IntArray -> ... }
If you want to process a column containing an IntArray instead, use WrappedArray
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
If you want to process a column containing an IntArray instead, use WrappedArray
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
If you want to process a column containing an IntArray instead, use WrappedArray
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf.register("myUdf") { t1: LongArray -> ... }
If you want to process a column containing an LongArray instead, use WrappedArray
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
If you want to process a column containing an LongArray instead, use WrappedArray
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
If you want to process a column containing an LongArray instead, use WrappedArray
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf.register("myUdf") { t1: FloatArray -> ... }
If you want to process a column containing an FloatArray instead, use WrappedArray
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
If you want to process a column containing an FloatArray instead, use WrappedArray
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
If you want to process a column containing an FloatArray instead, use WrappedArray
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf.register("myUdf") { t1: DoubleArray -> ... }
If you want to process a column containing an DoubleArray instead, use WrappedArray
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
If you want to process a column containing an DoubleArray instead, use WrappedArray
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
If you want to process a column containing an DoubleArray instead, use WrappedArray
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf.register("myUdf") { t1: BooleanArray -> ... }
If you want to process a column containing an BooleanArray instead, use WrappedArray
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
If you want to process a column containing an BooleanArray instead, use WrappedArray
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
If you want to process a column containing an BooleanArray instead, use WrappedArray
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf.register("myUdf") { t1: Array<T> -> ... }
If you want to process a column containing an Array
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
If you want to process a column containing an Array
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
If you want to process a column containing an Array
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction0) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction0) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction0) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction1) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction1) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction1) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction2) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction2) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction2) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction3) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction3) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction3) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction4) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction4) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction4) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction5) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction5) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction5) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction6) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction6) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction6) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction7) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction7) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction7) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction8) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction8) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction8) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction9) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction9) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction9) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction10) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction10) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction10) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction11) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction11) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction11) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction12) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction12) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction12) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction13) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction13) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction13) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction14) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction14) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction14) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction15) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction15) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction15) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction16) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction16) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction16) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction17) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction17) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction17) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction18) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction18) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction18) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction19) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction19) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction19) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction20) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction20) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction20) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19, t20: T20 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction21) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction21) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction21) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19, t20: T20, t21: T21 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.
Creates and registers a UDF (NamedUserDefinedFunction22) from a function reference adapting its name by reflection. For example: val myUdf = udf.register(::myFunction)
Parameters
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Creates and registers a UDF (NamedUserDefinedFunction22) from a function reference. For example: val myUdf = udf.register("myFunction", ::myFunction)
Parameters
Optional. Name for the UDF.
function reference
Optional. If true, sets the UserDefinedFunction as nondeterministic.
See also
Defines and registers a named UDF (NamedUserDefinedFunction22) instance based on the (lambda) function func. For example: val myUdf = udf.register("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19, t20: T20, t21: T21, t22: T22 -> ... }
Parameters
The name for this UDF.
Optional. If true, sets the UserDefinedFunction as nondeterministic.
The function to convert to a UDF. Can be a lambda.