udf

@JvmName(name = "udfVarargByte")
inline fun <R> udf(    name: String,     nondeterministic: Boolean = false,     varargFunc: UDF1<ByteArray, R>): NamedUserDefinedFunctionVararg<Byte, R>

Defines a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf("myUdf") { t1: ByteArray -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: ByteArray -> ... }

See also

If you want to process a column containing an ByteArray instead, use WrappedArray.

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargByte")
inline fun <R> udf(nondeterministic: Boolean = false, varargFunc: UDF1<ByteArray, R>): UserDefinedFunctionVararg<Byte, R>

Defines a vararg UDF (UserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf { t1: ByteArray -> ... }

If you want to process a column containing an ByteArray instead, use WrappedArray.

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargByte")
inline fun <R> udf(varargFunc: KProperty0<(ByteArray) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Byte, R>
@JvmName(name = "udfVarargByte")
inline fun <R> udf(varargFunc: (ByteArray) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Byte, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

If you want to process a column containing an ByteArray instead, use WrappedArray.

See also

Parameters

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargByte")
inline fun <R> udf(    name: String,     varargFunc: KProperty0<(ByteArray) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Byte, R>
@JvmName(name = "udfVarargByte")
inline fun <R> udf(    name: String,     varargFunc: (ByteArray) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Byte, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

If you want to process a column containing an ByteArray instead, use WrappedArray.

See also

Parameters

name

Optional. Name for the UDF.

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargShort")
inline fun <R> udf(    name: String,     nondeterministic: Boolean = false,     varargFunc: UDF1<ShortArray, R>): NamedUserDefinedFunctionVararg<Short, R>

Defines a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf("myUdf") { t1: ShortArray -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: ShortArray -> ... }

See also

If you want to process a column containing an ShortArray instead, use WrappedArray.

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargShort")
inline fun <R> udf(nondeterministic: Boolean = false, varargFunc: UDF1<ShortArray, R>): UserDefinedFunctionVararg<Short, R>

Defines a vararg UDF (UserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf { t1: ShortArray -> ... }

If you want to process a column containing an ShortArray instead, use WrappedArray.

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargShort")
inline fun <R> udf(varargFunc: KProperty0<(ShortArray) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Short, R>
@JvmName(name = "udfVarargShort")
inline fun <R> udf(varargFunc: (ShortArray) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Short, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

If you want to process a column containing an ShortArray instead, use WrappedArray.

See also

Parameters

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargShort")
inline fun <R> udf(    name: String,     varargFunc: KProperty0<(ShortArray) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Short, R>
@JvmName(name = "udfVarargShort")
inline fun <R> udf(    name: String,     varargFunc: (ShortArray) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Short, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

If you want to process a column containing an ShortArray instead, use WrappedArray.

See also

Parameters

name

Optional. Name for the UDF.

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargInt")
inline fun <R> udf(    name: String,     nondeterministic: Boolean = false,     varargFunc: UDF1<IntArray, R>): NamedUserDefinedFunctionVararg<Int, R>

Defines a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf("myUdf") { t1: IntArray -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: IntArray -> ... }

See also

If you want to process a column containing an IntArray instead, use WrappedArray.

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargInt")
inline fun <R> udf(nondeterministic: Boolean = false, varargFunc: UDF1<IntArray, R>): UserDefinedFunctionVararg<Int, R>

Defines a vararg UDF (UserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf { t1: IntArray -> ... }

If you want to process a column containing an IntArray instead, use WrappedArray.

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargInt")
inline fun <R> udf(varargFunc: KProperty0<(IntArray) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Int, R>
@JvmName(name = "udfVarargInt")
inline fun <R> udf(varargFunc: (IntArray) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Int, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

If you want to process a column containing an IntArray instead, use WrappedArray.

See also

Parameters

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargInt")
inline fun <R> udf(    name: String,     varargFunc: KProperty0<(IntArray) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Int, R>
@JvmName(name = "udfVarargInt")
inline fun <R> udf(    name: String,     varargFunc: (IntArray) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Int, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

If you want to process a column containing an IntArray instead, use WrappedArray.

See also

Parameters

name

Optional. Name for the UDF.

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargLong")
inline fun <R> udf(    name: String,     nondeterministic: Boolean = false,     varargFunc: UDF1<LongArray, R>): NamedUserDefinedFunctionVararg<Long, R>

Defines a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf("myUdf") { t1: LongArray -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: LongArray -> ... }

See also

If you want to process a column containing an LongArray instead, use WrappedArray.

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargLong")
inline fun <R> udf(nondeterministic: Boolean = false, varargFunc: UDF1<LongArray, R>): UserDefinedFunctionVararg<Long, R>

Defines a vararg UDF (UserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf { t1: LongArray -> ... }

If you want to process a column containing an LongArray instead, use WrappedArray.

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargLong")
inline fun <R> udf(varargFunc: KProperty0<(LongArray) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Long, R>
@JvmName(name = "udfVarargLong")
inline fun <R> udf(varargFunc: (LongArray) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Long, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

If you want to process a column containing an LongArray instead, use WrappedArray.

See also

Parameters

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargLong")
inline fun <R> udf(    name: String,     varargFunc: KProperty0<(LongArray) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Long, R>
@JvmName(name = "udfVarargLong")
inline fun <R> udf(    name: String,     varargFunc: (LongArray) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Long, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

If you want to process a column containing an LongArray instead, use WrappedArray.

See also

Parameters

name

Optional. Name for the UDF.

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargFloat")
inline fun <R> udf(    name: String,     nondeterministic: Boolean = false,     varargFunc: UDF1<FloatArray, R>): NamedUserDefinedFunctionVararg<Float, R>

Defines a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf("myUdf") { t1: FloatArray -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: FloatArray -> ... }

See also

If you want to process a column containing an FloatArray instead, use WrappedArray.

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargFloat")
inline fun <R> udf(nondeterministic: Boolean = false, varargFunc: UDF1<FloatArray, R>): UserDefinedFunctionVararg<Float, R>

Defines a vararg UDF (UserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf { t1: FloatArray -> ... }

If you want to process a column containing an FloatArray instead, use WrappedArray.

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargFloat")
inline fun <R> udf(varargFunc: KProperty0<(FloatArray) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Float, R>
@JvmName(name = "udfVarargFloat")
inline fun <R> udf(varargFunc: (FloatArray) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Float, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

If you want to process a column containing an FloatArray instead, use WrappedArray.

See also

Parameters

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargFloat")
inline fun <R> udf(    name: String,     varargFunc: KProperty0<(FloatArray) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Float, R>
@JvmName(name = "udfVarargFloat")
inline fun <R> udf(    name: String,     varargFunc: (FloatArray) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Float, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

If you want to process a column containing an FloatArray instead, use WrappedArray.

See also

Parameters

name

Optional. Name for the UDF.

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargDouble")
inline fun <R> udf(    name: String,     nondeterministic: Boolean = false,     varargFunc: UDF1<DoubleArray, R>): NamedUserDefinedFunctionVararg<Double, R>

Defines a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf("myUdf") { t1: DoubleArray -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: DoubleArray -> ... }

See also

If you want to process a column containing an DoubleArray instead, use WrappedArray.

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargDouble")
inline fun <R> udf(nondeterministic: Boolean = false, varargFunc: UDF1<DoubleArray, R>): UserDefinedFunctionVararg<Double, R>

Defines a vararg UDF (UserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf { t1: DoubleArray -> ... }

If you want to process a column containing an DoubleArray instead, use WrappedArray.

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargDouble")
inline fun <R> udf(varargFunc: KProperty0<(DoubleArray) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Double, R>
@JvmName(name = "udfVarargDouble")
inline fun <R> udf(varargFunc: (DoubleArray) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Double, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

If you want to process a column containing an DoubleArray instead, use WrappedArray.

See also

Parameters

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargDouble")
inline fun <R> udf(    name: String,     varargFunc: KProperty0<(DoubleArray) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Double, R>
@JvmName(name = "udfVarargDouble")
inline fun <R> udf(    name: String,     varargFunc: (DoubleArray) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Double, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

If you want to process a column containing an DoubleArray instead, use WrappedArray.

See also

Parameters

name

Optional. Name for the UDF.

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargBoolean")
inline fun <R> udf(    name: String,     nondeterministic: Boolean = false,     varargFunc: UDF1<BooleanArray, R>): NamedUserDefinedFunctionVararg<Boolean, R>

Defines a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf("myUdf") { t1: BooleanArray -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: BooleanArray -> ... }

See also

If you want to process a column containing an BooleanArray instead, use WrappedArray.

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargBoolean")
inline fun <R> udf(nondeterministic: Boolean = false, varargFunc: UDF1<BooleanArray, R>): UserDefinedFunctionVararg<Boolean, R>

Defines a vararg UDF (UserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf { t1: BooleanArray -> ... }

If you want to process a column containing an BooleanArray instead, use WrappedArray.

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargBoolean")
inline fun <R> udf(varargFunc: KProperty0<(BooleanArray) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Boolean, R>
@JvmName(name = "udfVarargBoolean")
inline fun <R> udf(varargFunc: (BooleanArray) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Boolean, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

If you want to process a column containing an BooleanArray instead, use WrappedArray.

See also

Parameters

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargBoolean")
inline fun <R> udf(    name: String,     varargFunc: KProperty0<(BooleanArray) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Boolean, R>
@JvmName(name = "udfVarargBoolean")
inline fun <R> udf(    name: String,     varargFunc: (BooleanArray) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<Boolean, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

If you want to process a column containing an BooleanArray instead, use WrappedArray.

See also

Parameters

name

Optional. Name for the UDF.

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargT")
inline fun <T, R> udf(    name: String,     nondeterministic: Boolean = false,     varargFunc: UDF1<Array<T>, R>): NamedUserDefinedFunctionVararg<T, R>

Defines a named vararg UDF (NamedUserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf("myUdf") { t1: Array<T> -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: Array<T> -> ... }

See also

If you want to process a column containing an Array instead, use WrappedArray.

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargT")
inline fun <T, R> udf(nondeterministic: Boolean = false, varargFunc: UDF1<Array<T>, R>): UserDefinedFunctionVararg<T, R>

Defines a vararg UDF (UserDefinedFunctionVararg) instance based on the (lambda) function varargFunc. For example: val myUdf = udf { t1: Array<T> -> ... }

If you want to process a column containing an Array instead, use WrappedArray.

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

varargFunc

The function to convert to a UDF. Can be a lambda.


@JvmName(name = "udfVarargT")
inline fun <T, R> udf(varargFunc: KProperty0<(Array<T>) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<T, R>
@JvmName(name = "udfVarargT")
inline fun <T, R> udf(varargFunc: (Array<T>) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<T, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

If you want to process a column containing an Array instead, use WrappedArray.

See also

Parameters

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


@JvmName(name = "udfVarargT")
inline fun <T, R> udf(    name: String,     varargFunc: KProperty0<(Array<T>) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<T, R>
@JvmName(name = "udfVarargT")
inline fun <T, R> udf(    name: String,     varargFunc: (Array<T>) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunctionVararg<T, R>

Creates a vararg UDF (NamedUserDefinedFunctionVararg) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

If you want to process a column containing an Array instead, use WrappedArray.

See also

Parameters

name

Optional. Name for the UDF.

varargFunc

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <R> udf(func: KProperty0<() -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction0<R>
inline fun <R> udf(func: () -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction0<R>

Creates a UDF (NamedUserDefinedFunction0) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <R> udf(    name: String,     func: KProperty0<() -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction0<R>
inline fun <R> udf(    name: String,     func: () -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction0<R>

Creates a UDF (NamedUserDefinedFunction0) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF0<R>): NamedUserDefinedFunction0<R>

Defines a named UDF (NamedUserDefinedFunction0) instance based on the (lambda) function func. For example: val myUdf = udf("myUdf") { -> ... } Name can also be supplied using delegate: val myUdf by udf { -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <R> udf(nondeterministic: Boolean = false, func: UDF0<R>): UserDefinedFunction0<R>

Defines a UDF (UserDefinedFunction0) instance based on the (lambda) function func. For example: val myUdf = udf { -> ... }

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, R> udf(func: KProperty0<(T1) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction1<T1, R>
inline fun <T1, R> udf(func: (T1) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction1<T1, R>

Creates a UDF (NamedUserDefinedFunction1) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, R> udf(    name: String,     func: KProperty0<(T1) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction1<T1, R>
inline fun <T1, R> udf(    name: String,     func: (T1) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction1<T1, R>

Creates a UDF (NamedUserDefinedFunction1) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF1<T1, R>): NamedUserDefinedFunction1<T1, R>

Defines a named UDF (NamedUserDefinedFunction1) instance based on the (lambda) function func. For example: val myUdf = udf("myUdf") { t1: T1 -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: T1 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, R> udf(nondeterministic: Boolean = false, func: UDF1<T1, R>): UserDefinedFunction1<T1, R>

Defines a UDF (UserDefinedFunction1) instance based on the (lambda) function func. For example: val myUdf = udf { t1: T1 -> ... }

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, R> udf(func: KProperty0<(T1, T2) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction2<T1, T2, R>
inline fun <T1, T2, R> udf(func: (T1, T2) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction2<T1, T2, R>

Creates a UDF (NamedUserDefinedFunction2) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, R> udf(    name: String,     func: KProperty0<(T1, T2) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction2<T1, T2, R>
inline fun <T1, T2, R> udf(    name: String,     func: (T1, T2) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction2<T1, T2, R>

Creates a UDF (NamedUserDefinedFunction2) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF2<T1, T2, R>): NamedUserDefinedFunction2<T1, T2, R>

Defines a named UDF (NamedUserDefinedFunction2) instance based on the (lambda) function func. For example: val myUdf = udf("myUdf") { t1: T1, t2: T2 -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: T1, t2: T2 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, R> udf(nondeterministic: Boolean = false, func: UDF2<T1, T2, R>): UserDefinedFunction2<T1, T2, R>

Defines a UDF (UserDefinedFunction2) instance based on the (lambda) function func. For example: val myUdf = udf { t1: T1, t2: T2 -> ... }

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, R> udf(func: KProperty0<(T1, T2, T3) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction3<T1, T2, T3, R>
inline fun <T1, T2, T3, R> udf(func: (T1, T2, T3) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction3<T1, T2, T3, R>

Creates a UDF (NamedUserDefinedFunction3) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, R> udf(    name: String,     func: KProperty0<(T1, T2, T3) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction3<T1, T2, T3, R>
inline fun <T1, T2, T3, R> udf(    name: String,     func: (T1, T2, T3) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction3<T1, T2, T3, R>

Creates a UDF (NamedUserDefinedFunction3) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF3<T1, T2, T3, R>): NamedUserDefinedFunction3<T1, T2, T3, R>

Defines a named UDF (NamedUserDefinedFunction3) instance based on the (lambda) function func. For example: val myUdf = udf("myUdf") { t1: T1, t2: T2, t3: T3 -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: T1, t2: T2, t3: T3 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, R> udf(nondeterministic: Boolean = false, func: UDF3<T1, T2, T3, R>): UserDefinedFunction3<T1, T2, T3, R>

Defines a UDF (UserDefinedFunction3) instance based on the (lambda) function func. For example: val myUdf = udf { t1: T1, t2: T2, t3: T3 -> ... }

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, R> udf(func: KProperty0<(T1, T2, T3, T4) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction4<T1, T2, T3, T4, R>
inline fun <T1, T2, T3, T4, R> udf(func: (T1, T2, T3, T4) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction4<T1, T2, T3, T4, R>

Creates a UDF (NamedUserDefinedFunction4) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction4<T1, T2, T3, T4, R>
inline fun <T1, T2, T3, T4, R> udf(    name: String,     func: (T1, T2, T3, T4) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction4<T1, T2, T3, T4, R>

Creates a UDF (NamedUserDefinedFunction4) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF4<T1, T2, T3, T4, R>): NamedUserDefinedFunction4<T1, T2, T3, T4, R>

Defines a named UDF (NamedUserDefinedFunction4) instance based on the (lambda) function func. For example: val myUdf = udf("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4 -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: T1, t2: T2, t3: T3, t4: T4 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, R> udf(nondeterministic: Boolean = false, func: UDF4<T1, T2, T3, T4, R>): UserDefinedFunction4<T1, T2, T3, T4, R>

Defines a UDF (UserDefinedFunction4) instance based on the (lambda) function func. For example: val myUdf = udf { t1: T1, t2: T2, t3: T3, t4: T4 -> ... }

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, R> udf(func: KProperty0<(T1, T2, T3, T4, T5) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction5<T1, T2, T3, T4, T5, R>
inline fun <T1, T2, T3, T4, T5, R> udf(func: (T1, T2, T3, T4, T5) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction5<T1, T2, T3, T4, T5, R>

Creates a UDF (NamedUserDefinedFunction5) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction5<T1, T2, T3, T4, T5, R>
inline fun <T1, T2, T3, T4, T5, R> udf(    name: String,     func: (T1, T2, T3, T4, T5) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction5<T1, T2, T3, T4, T5, R>

Creates a UDF (NamedUserDefinedFunction5) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF5<T1, T2, T3, T4, T5, R>): NamedUserDefinedFunction5<T1, T2, T3, T4, T5, R>

Defines a named UDF (NamedUserDefinedFunction5) instance based on the (lambda) function func. For example: val myUdf = udf("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5 -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, R> udf(nondeterministic: Boolean = false, func: UDF5<T1, T2, T3, T4, T5, R>): UserDefinedFunction5<T1, T2, T3, T4, T5, R>

Defines a UDF (UserDefinedFunction5) instance based on the (lambda) function func. For example: val myUdf = udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5 -> ... }

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction6<T1, T2, T3, T4, T5, T6, R>
inline fun <T1, T2, T3, T4, T5, T6, R> udf(func: (T1, T2, T3, T4, T5, T6) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction6<T1, T2, T3, T4, T5, T6, R>

Creates a UDF (NamedUserDefinedFunction6) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction6<T1, T2, T3, T4, T5, T6, R>
inline fun <T1, T2, T3, T4, T5, T6, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction6<T1, T2, T3, T4, T5, T6, R>

Creates a UDF (NamedUserDefinedFunction6) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF6<T1, T2, T3, T4, T5, T6, R>): NamedUserDefinedFunction6<T1, T2, T3, T4, T5, T6, R>

Defines a named UDF (NamedUserDefinedFunction6) instance based on the (lambda) function func. For example: val myUdf = udf("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6 -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, R> udf(nondeterministic: Boolean = false, func: UDF6<T1, T2, T3, T4, T5, T6, R>): UserDefinedFunction6<T1, T2, T3, T4, T5, T6, R>

Defines a UDF (UserDefinedFunction6) instance based on the (lambda) function func. For example: val myUdf = udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6 -> ... }

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction7<T1, T2, T3, T4, T5, T6, T7, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, R> udf(func: (T1, T2, T3, T4, T5, T6, T7) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction7<T1, T2, T3, T4, T5, T6, T7, R>

Creates a UDF (NamedUserDefinedFunction7) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction7<T1, T2, T3, T4, T5, T6, T7, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction7<T1, T2, T3, T4, T5, T6, T7, R>

Creates a UDF (NamedUserDefinedFunction7) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF7<T1, T2, T3, T4, T5, T6, T7, R>): NamedUserDefinedFunction7<T1, T2, T3, T4, T5, T6, T7, R>

Defines a named UDF (NamedUserDefinedFunction7) instance based on the (lambda) function func. For example: val myUdf = udf("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7 -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, R> udf(nondeterministic: Boolean = false, func: UDF7<T1, T2, T3, T4, T5, T6, T7, R>): UserDefinedFunction7<T1, T2, T3, T4, T5, T6, T7, R>

Defines a UDF (UserDefinedFunction7) instance based on the (lambda) function func. For example: val myUdf = udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7 -> ... }

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction8<T1, T2, T3, T4, T5, T6, T7, T8, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction8<T1, T2, T3, T4, T5, T6, T7, T8, R>

Creates a UDF (NamedUserDefinedFunction8) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction8<T1, T2, T3, T4, T5, T6, T7, T8, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction8<T1, T2, T3, T4, T5, T6, T7, T8, R>

Creates a UDF (NamedUserDefinedFunction8) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF8<T1, T2, T3, T4, T5, T6, T7, T8, R>): NamedUserDefinedFunction8<T1, T2, T3, T4, T5, T6, T7, T8, R>

Defines a named UDF (NamedUserDefinedFunction8) instance based on the (lambda) function func. For example: val myUdf = udf("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8 -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, R> udf(nondeterministic: Boolean = false, func: UDF8<T1, T2, T3, T4, T5, T6, T7, T8, R>): UserDefinedFunction8<T1, T2, T3, T4, T5, T6, T7, T8, R>

Defines a UDF (UserDefinedFunction8) instance based on the (lambda) function func. For example: val myUdf = udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8 -> ... }

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction9<T1, T2, T3, T4, T5, T6, T7, T8, T9, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction9<T1, T2, T3, T4, T5, T6, T7, T8, T9, R>

Creates a UDF (NamedUserDefinedFunction9) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction9<T1, T2, T3, T4, T5, T6, T7, T8, T9, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction9<T1, T2, T3, T4, T5, T6, T7, T8, T9, R>

Creates a UDF (NamedUserDefinedFunction9) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF9<T1, T2, T3, T4, T5, T6, T7, T8, T9, R>): NamedUserDefinedFunction9<T1, T2, T3, T4, T5, T6, T7, T8, T9, R>

Defines a named UDF (NamedUserDefinedFunction9) instance based on the (lambda) function func. For example: val myUdf = udf("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9 -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, R> udf(nondeterministic: Boolean = false, func: UDF9<T1, T2, T3, T4, T5, T6, T7, T8, T9, R>): UserDefinedFunction9<T1, T2, T3, T4, T5, T6, T7, T8, T9, R>

Defines a UDF (UserDefinedFunction9) instance based on the (lambda) function func. For example: val myUdf = udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9 -> ... }

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R>

Creates a UDF (NamedUserDefinedFunction10) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R>

Creates a UDF (NamedUserDefinedFunction10) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R>): NamedUserDefinedFunction10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R>

Defines a named UDF (NamedUserDefinedFunction10) instance based on the (lambda) function func. For example: val myUdf = udf("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10 -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> udf(nondeterministic: Boolean = false, func: UDF10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R>): UserDefinedFunction10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R>

Defines a UDF (UserDefinedFunction10) instance based on the (lambda) function func. For example: val myUdf = udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10 -> ... }

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R>

Creates a UDF (NamedUserDefinedFunction11) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R>

Creates a UDF (NamedUserDefinedFunction11) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R>): NamedUserDefinedFunction11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R>

Defines a named UDF (NamedUserDefinedFunction11) instance based on the (lambda) function func. For example: val myUdf = udf("myUdf") { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11 -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R> udf(nondeterministic: Boolean = false, func: UDF11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R>): UserDefinedFunction11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R>

Defines a UDF (UserDefinedFunction11) instance based on the (lambda) function func. For example: val myUdf = udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11 -> ... }

Parameters

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R>

Creates a UDF (NamedUserDefinedFunction12) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R>

Creates a UDF (NamedUserDefinedFunction12) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R>): NamedUserDefinedFunction12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R>

Defines a named UDF (NamedUserDefinedFunction12) instance based on the (lambda) function func. For example: val myUdf = udf("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 -> ... } Name can also be supplied using delegate: val myUdf by udf { t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R> udf(nondeterministic: Boolean = false, func: UDF12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R>): UserDefinedFunction12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R>

Defines a UDF (UserDefinedFunction12) instance based on the (lambda) function func. For example: val myUdf = udf { 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

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R>

Creates a UDF (NamedUserDefinedFunction13) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R>

Creates a UDF (NamedUserDefinedFunction13) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R>): NamedUserDefinedFunction13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R>

Defines a named UDF (NamedUserDefinedFunction13) instance based on the (lambda) function func. For example: val myUdf = udf("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 -> ... } Name can also be supplied using delegate: val myUdf by udf { 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 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R> udf(nondeterministic: Boolean = false, func: UDF13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R>): UserDefinedFunction13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R>

Defines a UDF (UserDefinedFunction13) instance based on the (lambda) function func. For example: val myUdf = udf { 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

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R>

Creates a UDF (NamedUserDefinedFunction14) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R>

Creates a UDF (NamedUserDefinedFunction14) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R>): NamedUserDefinedFunction14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R>

Defines a named UDF (NamedUserDefinedFunction14) instance based on the (lambda) function func. For example: val myUdf = udf("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 -> ... } Name can also be supplied using delegate: val myUdf by udf { 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 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R> udf(nondeterministic: Boolean = false, func: UDF14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R>): UserDefinedFunction14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R>

Defines a UDF (UserDefinedFunction14) instance based on the (lambda) function func. For example: val myUdf = udf { 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

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R>

Creates a UDF (NamedUserDefinedFunction15) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R>

Creates a UDF (NamedUserDefinedFunction15) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R>): NamedUserDefinedFunction15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R>

Defines a named UDF (NamedUserDefinedFunction15) instance based on the (lambda) function func. For example: val myUdf = udf("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 -> ... } Name can also be supplied using delegate: val myUdf by udf { 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 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R> udf(nondeterministic: Boolean = false, func: UDF15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R>): UserDefinedFunction15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R>

Defines a UDF (UserDefinedFunction15) instance based on the (lambda) function func. For example: val myUdf = udf { 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

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R>

Creates a UDF (NamedUserDefinedFunction16) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R>

Creates a UDF (NamedUserDefinedFunction16) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R>): NamedUserDefinedFunction16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R>

Defines a named UDF (NamedUserDefinedFunction16) instance based on the (lambda) function func. For example: val myUdf = udf("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 -> ... } Name can also be supplied using delegate: val myUdf by udf { 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 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R> udf(nondeterministic: Boolean = false, func: UDF16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R>): UserDefinedFunction16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R>

Defines a UDF (UserDefinedFunction16) instance based on the (lambda) function func. For example: val myUdf = udf { 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

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R>

Creates a UDF (NamedUserDefinedFunction17) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R>

Creates a UDF (NamedUserDefinedFunction17) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R>): NamedUserDefinedFunction17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R>

Defines a named UDF (NamedUserDefinedFunction17) instance based on the (lambda) function func. For example: val myUdf = udf("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 -> ... } Name can also be supplied using delegate: val myUdf by udf { 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 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R> udf(nondeterministic: Boolean = false, func: UDF17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R>): UserDefinedFunction17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R>

Defines a UDF (UserDefinedFunction17) instance based on the (lambda) function func. For example: val myUdf = udf { 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

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R>

Creates a UDF (NamedUserDefinedFunction18) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R>

Creates a UDF (NamedUserDefinedFunction18) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R>): NamedUserDefinedFunction18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R>

Defines a named UDF (NamedUserDefinedFunction18) instance based on the (lambda) function func. For example: val myUdf = udf("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 -> ... } Name can also be supplied using delegate: val myUdf by udf { 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 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R> udf(nondeterministic: Boolean = false, func: UDF18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R>): UserDefinedFunction18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R>

Defines a UDF (UserDefinedFunction18) instance based on the (lambda) function func. For example: val myUdf = udf { 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

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R>

Creates a UDF (NamedUserDefinedFunction19) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R>

Creates a UDF (NamedUserDefinedFunction19) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R>): NamedUserDefinedFunction19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R>

Defines a named UDF (NamedUserDefinedFunction19) instance based on the (lambda) function func. For example: val myUdf = udf("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 -> ... } Name can also be supplied using delegate: val myUdf by udf { 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 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R> udf(nondeterministic: Boolean = false, func: UDF19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R>): UserDefinedFunction19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R>

Defines a UDF (UserDefinedFunction19) instance based on the (lambda) function func. For example: val myUdf = udf { 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

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R>

Creates a UDF (NamedUserDefinedFunction20) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R>

Creates a UDF (NamedUserDefinedFunction20) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R>): NamedUserDefinedFunction20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R>

Defines a named UDF (NamedUserDefinedFunction20) instance based on the (lambda) function func. For example: val myUdf = udf("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 -> ... } Name can also be supplied using delegate: val myUdf by udf { 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 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R> udf(nondeterministic: Boolean = false, func: UDF20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R>): UserDefinedFunction20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R>

Defines a UDF (UserDefinedFunction20) instance based on the (lambda) function func. For example: val myUdf = udf { 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

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R>

Creates a UDF (NamedUserDefinedFunction21) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R>

Creates a UDF (NamedUserDefinedFunction21) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R>): NamedUserDefinedFunction21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R>

Defines a named UDF (NamedUserDefinedFunction21) instance based on the (lambda) function func. For example: val myUdf = udf("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 -> ... } Name can also be supplied using delegate: val myUdf by udf { 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 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R> udf(nondeterministic: Boolean = false, func: UDF21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R>): UserDefinedFunction21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R>

Defines a UDF (UserDefinedFunction21) instance based on the (lambda) function func. For example: val myUdf = udf { 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

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R> udf(func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) -> R>, nondeterministic: Boolean = false): NamedUserDefinedFunction22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R> udf(func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) -> R, nondeterministic: Boolean = false): NamedUserDefinedFunction22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R>

Creates a UDF (NamedUserDefinedFunction22) from a function reference adapting its name by reflection. For example: val myUdf = udf(::myFunction)

See also

Parameters

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R> udf(    name: String,     func: KProperty0<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) -> R>,     nondeterministic: Boolean = false): NamedUserDefinedFunction22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R>
inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R> udf(    name: String,     func: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) -> R,     nondeterministic: Boolean = false): NamedUserDefinedFunction22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R>

Creates a UDF (NamedUserDefinedFunction22) from a function reference. For example: val myUdf = udf("myFunction", ::myFunction)

See also

Parameters

name

Optional. Name for the UDF.

func

function reference

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R> udf(    name: String,     nondeterministic: Boolean = false,     func: UDF22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R>): NamedUserDefinedFunction22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R>

Defines a named UDF (NamedUserDefinedFunction22) instance based on the (lambda) function func. For example: val myUdf = udf("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 -> ... } Name can also be supplied using delegate: val myUdf by udf { 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 -> ... }

See also

Parameters

name

The name for this UDF.

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R> udf(nondeterministic: Boolean = false, func: UDF22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R>): UserDefinedFunction22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R>

Defines a UDF (UserDefinedFunction22) instance based on the (lambda) function func. For example: val myUdf = udf { 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

nondeterministic

Optional. If true, sets the UserDefinedFunction as nondeterministic.

func

The function to convert to a UDF. Can be a lambda.