Share via


UdfRegistrationExtensions.RegisterVector Method

Definition

Overloads

RegisterVector<T,TResult>(UdfRegistration, String, Func<T,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

RegisterVector<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

RegisterVector<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

RegisterVector<T1,T2,T3,T4,T5,T6,T7,T8,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,T5,T6,T7,T8,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

RegisterVector<T1,T2,T3,T4,T5,T6,T7,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,T5,T6,T7,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

RegisterVector<T1,T2,T3,T4,T5,T6,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,T5,T6,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

RegisterVector<T1,T2,T3,T4,T5,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,T5,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

RegisterVector<T1,T2,T3,T4,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

RegisterVector<T1,T2,T3,TResult>(UdfRegistration, String, Func<T1,T2,T3,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

RegisterVector<T1,T2,TResult>(UdfRegistration, String, Func<T1,T2,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

RegisterVector<T,TResult>(UdfRegistration, String, Func<T,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

public static void RegisterVector<T,TResult> (this Microsoft.Spark.Sql.UdfRegistration udf, string name, Func<T,TResult> f) where T : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T, 'Result (requires 'T :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)> -> unit (requires 'T :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
<Extension()>
Public Sub RegisterVector(Of T As IArrowArray, TResult As IArrowArray) (udf As UdfRegistration, name As String, f As Func(Of T, TResult))

Type Parameters

T

Specifies the type of the first argument to the UDF.

TResult

Specifies the return type of the UDF.

Parameters

udf
UdfRegistration

The UdfRegistration object to invoke the register the Vector UDF.

name
String

The UDF name.

f
Func<T,TResult>

The UDF function implementation.

Applies to

RegisterVector<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

public static void RegisterVector<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult> (this Microsoft.Spark.Sql.UdfRegistration udf, string name, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult> f) where T1 : Apache.Arrow.IArrowArray where T2 : Apache.Arrow.IArrowArray where T3 : Apache.Arrow.IArrowArray where T4 : Apache.Arrow.IArrowArray where T5 : Apache.Arrow.IArrowArray where T6 : Apache.Arrow.IArrowArray where T7 : Apache.Arrow.IArrowArray where T8 : Apache.Arrow.IArrowArray where T9 : Apache.Arrow.IArrowArray where T10 : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'Result (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'T5 :> Apache.Arrow.IArrowArray and 'T6 :> Apache.Arrow.IArrowArray and 'T7 :> Apache.Arrow.IArrowArray and 'T8 :> Apache.Arrow.IArrowArray and 'T9 :> Apache.Arrow.IArrowArray and 'T10 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)> -> unit (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'T5 :> Apache.Arrow.IArrowArray and 'T6 :> Apache.Arrow.IArrowArray and 'T7 :> Apache.Arrow.IArrowArray and 'T8 :> Apache.Arrow.IArrowArray and 'T9 :> Apache.Arrow.IArrowArray and 'T10 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
<Extension()>
Public Sub RegisterVector(Of T1 As IArrowArray, T2 As IArrowArray, T3 As IArrowArray, T4 As IArrowArray, T5 As IArrowArray, T6 As IArrowArray, T7 As IArrowArray, T8 As IArrowArray, T9 As IArrowArray, T10 As IArrowArray, TResult As IArrowArray) (udf As UdfRegistration, name As String, f As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult))

Type Parameters

T1

Specifies the type of the first argument to the UDF.

T2

Specifies the type of the second argument to the UDF.

T3

Specifies the type of the third argument to the UDF.

T4

Specifies the type of the fourth argument to the UDF.

T5

Specifies the type of the fifth argument to the UDF.

T6

Specifies the type of the sixth argument to the UDF.

T7

Specifies the type of the seventh argument to the UDF.

T8

Specifies the type of the eighth argument to the UDF.

T9

Specifies the type of the ninth argument to the UDF.

T10

Specifies the type of the tenth argument to the UDF.

TResult

Specifies the return type of the UDF.

Parameters

udf
UdfRegistration

The UdfRegistration object to invoke the register the Vector UDF.

name
String

The UDF name.

f
Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>

The UDF function implementation.

Applies to

RegisterVector<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

public static void RegisterVector<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult> (this Microsoft.Spark.Sql.UdfRegistration udf, string name, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult> f) where T1 : Apache.Arrow.IArrowArray where T2 : Apache.Arrow.IArrowArray where T3 : Apache.Arrow.IArrowArray where T4 : Apache.Arrow.IArrowArray where T5 : Apache.Arrow.IArrowArray where T6 : Apache.Arrow.IArrowArray where T7 : Apache.Arrow.IArrowArray where T8 : Apache.Arrow.IArrowArray where T9 : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'Result (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'T5 :> Apache.Arrow.IArrowArray and 'T6 :> Apache.Arrow.IArrowArray and 'T7 :> Apache.Arrow.IArrowArray and 'T8 :> Apache.Arrow.IArrowArray and 'T9 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)> -> unit (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'T5 :> Apache.Arrow.IArrowArray and 'T6 :> Apache.Arrow.IArrowArray and 'T7 :> Apache.Arrow.IArrowArray and 'T8 :> Apache.Arrow.IArrowArray and 'T9 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
<Extension()>
Public Sub RegisterVector(Of T1 As IArrowArray, T2 As IArrowArray, T3 As IArrowArray, T4 As IArrowArray, T5 As IArrowArray, T6 As IArrowArray, T7 As IArrowArray, T8 As IArrowArray, T9 As IArrowArray, TResult As IArrowArray) (udf As UdfRegistration, name As String, f As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult))

Type Parameters

T1

Specifies the type of the first argument to the UDF.

T2

Specifies the type of the second argument to the UDF.

T3

Specifies the type of the third argument to the UDF.

T4

Specifies the type of the fourth argument to the UDF.

T5

Specifies the type of the fifth argument to the UDF.

T6

Specifies the type of the sixth argument to the UDF.

T7

Specifies the type of the seventh argument to the UDF.

T8

Specifies the type of the eighth argument to the UDF.

T9

Specifies the type of the ninth argument to the UDF.

TResult

Specifies the return type of the UDF.

Parameters

udf
UdfRegistration

The UdfRegistration object to invoke the register the Vector UDF.

name
String

The UDF name.

f
Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>

The UDF function implementation.

Applies to

RegisterVector<T1,T2,T3,T4,T5,T6,T7,T8,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,T5,T6,T7,T8,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

public static void RegisterVector<T1,T2,T3,T4,T5,T6,T7,T8,TResult> (this Microsoft.Spark.Sql.UdfRegistration udf, string name, Func<T1,T2,T3,T4,T5,T6,T7,T8,TResult> f) where T1 : Apache.Arrow.IArrowArray where T2 : Apache.Arrow.IArrowArray where T3 : Apache.Arrow.IArrowArray where T4 : Apache.Arrow.IArrowArray where T5 : Apache.Arrow.IArrowArray where T6 : Apache.Arrow.IArrowArray where T7 : Apache.Arrow.IArrowArray where T8 : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'Result (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'T5 :> Apache.Arrow.IArrowArray and 'T6 :> Apache.Arrow.IArrowArray and 'T7 :> Apache.Arrow.IArrowArray and 'T8 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)> -> unit (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'T5 :> Apache.Arrow.IArrowArray and 'T6 :> Apache.Arrow.IArrowArray and 'T7 :> Apache.Arrow.IArrowArray and 'T8 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
<Extension()>
Public Sub RegisterVector(Of T1 As IArrowArray, T2 As IArrowArray, T3 As IArrowArray, T4 As IArrowArray, T5 As IArrowArray, T6 As IArrowArray, T7 As IArrowArray, T8 As IArrowArray, TResult As IArrowArray) (udf As UdfRegistration, name As String, f As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, TResult))

Type Parameters

T1

Specifies the type of the first argument to the UDF.

T2

Specifies the type of the second argument to the UDF.

T3

Specifies the type of the third argument to the UDF.

T4

Specifies the type of the fourth argument to the UDF.

T5

Specifies the type of the fifth argument to the UDF.

T6

Specifies the type of the sixth argument to the UDF.

T7

Specifies the type of the seventh argument to the UDF.

T8

Specifies the type of the eighth argument to the UDF.

TResult

Specifies the return type of the UDF.

Parameters

udf
UdfRegistration

The UdfRegistration object to invoke the register the Vector UDF.

name
String

The UDF name.

f
Func<T1,T2,T3,T4,T5,T6,T7,T8,TResult>

The UDF function implementation.

Applies to

RegisterVector<T1,T2,T3,T4,T5,T6,T7,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,T5,T6,T7,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

public static void RegisterVector<T1,T2,T3,T4,T5,T6,T7,TResult> (this Microsoft.Spark.Sql.UdfRegistration udf, string name, Func<T1,T2,T3,T4,T5,T6,T7,TResult> f) where T1 : Apache.Arrow.IArrowArray where T2 : Apache.Arrow.IArrowArray where T3 : Apache.Arrow.IArrowArray where T4 : Apache.Arrow.IArrowArray where T5 : Apache.Arrow.IArrowArray where T6 : Apache.Arrow.IArrowArray where T7 : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'Result (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'T5 :> Apache.Arrow.IArrowArray and 'T6 :> Apache.Arrow.IArrowArray and 'T7 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)> -> unit (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'T5 :> Apache.Arrow.IArrowArray and 'T6 :> Apache.Arrow.IArrowArray and 'T7 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
<Extension()>
Public Sub RegisterVector(Of T1 As IArrowArray, T2 As IArrowArray, T3 As IArrowArray, T4 As IArrowArray, T5 As IArrowArray, T6 As IArrowArray, T7 As IArrowArray, TResult As IArrowArray) (udf As UdfRegistration, name As String, f As Func(Of T1, T2, T3, T4, T5, T6, T7, TResult))

Type Parameters

T1

Specifies the type of the first argument to the UDF.

T2

Specifies the type of the second argument to the UDF.

T3

Specifies the type of the third argument to the UDF.

T4

Specifies the type of the fourth argument to the UDF.

T5

Specifies the type of the fifth argument to the UDF.

T6

Specifies the type of the sixth argument to the UDF.

T7

Specifies the type of the seventh argument to the UDF.

TResult

Specifies the return type of the UDF.

Parameters

udf
UdfRegistration

The UdfRegistration object to invoke the register the Vector UDF.

name
String

The UDF name.

f
Func<T1,T2,T3,T4,T5,T6,T7,TResult>

The UDF function implementation.

Applies to

RegisterVector<T1,T2,T3,T4,T5,T6,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,T5,T6,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

public static void RegisterVector<T1,T2,T3,T4,T5,T6,TResult> (this Microsoft.Spark.Sql.UdfRegistration udf, string name, Func<T1,T2,T3,T4,T5,T6,TResult> f) where T1 : Apache.Arrow.IArrowArray where T2 : Apache.Arrow.IArrowArray where T3 : Apache.Arrow.IArrowArray where T4 : Apache.Arrow.IArrowArray where T5 : Apache.Arrow.IArrowArray where T6 : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'Result (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'T5 :> Apache.Arrow.IArrowArray and 'T6 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)> -> unit (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'T5 :> Apache.Arrow.IArrowArray and 'T6 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
<Extension()>
Public Sub RegisterVector(Of T1 As IArrowArray, T2 As IArrowArray, T3 As IArrowArray, T4 As IArrowArray, T5 As IArrowArray, T6 As IArrowArray, TResult As IArrowArray) (udf As UdfRegistration, name As String, f As Func(Of T1, T2, T3, T4, T5, T6, TResult))

Type Parameters

T1

Specifies the type of the first argument to the UDF.

T2

Specifies the type of the second argument to the UDF.

T3

Specifies the type of the third argument to the UDF.

T4

Specifies the type of the fourth argument to the UDF.

T5

Specifies the type of the fifth argument to the UDF.

T6

Specifies the type of the sixth argument to the UDF.

TResult

Specifies the return type of the UDF.

Parameters

udf
UdfRegistration

The UdfRegistration object to invoke the register the Vector UDF.

name
String

The UDF name.

f
Func<T1,T2,T3,T4,T5,T6,TResult>

The UDF function implementation.

Applies to

RegisterVector<T1,T2,T3,T4,T5,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,T5,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

public static void RegisterVector<T1,T2,T3,T4,T5,TResult> (this Microsoft.Spark.Sql.UdfRegistration udf, string name, Func<T1,T2,T3,T4,T5,TResult> f) where T1 : Apache.Arrow.IArrowArray where T2 : Apache.Arrow.IArrowArray where T3 : Apache.Arrow.IArrowArray where T4 : Apache.Arrow.IArrowArray where T5 : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'Result (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'T5 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)> -> unit (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'T5 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
<Extension()>
Public Sub RegisterVector(Of T1 As IArrowArray, T2 As IArrowArray, T3 As IArrowArray, T4 As IArrowArray, T5 As IArrowArray, TResult As IArrowArray) (udf As UdfRegistration, name As String, f As Func(Of T1, T2, T3, T4, T5, TResult))

Type Parameters

T1

Specifies the type of the first argument to the UDF.

T2

Specifies the type of the second argument to the UDF.

T3

Specifies the type of the third argument to the UDF.

T4

Specifies the type of the fourth argument to the UDF.

T5

Specifies the type of the fifth argument to the UDF.

TResult

Specifies the return type of the UDF.

Parameters

udf
UdfRegistration

The UdfRegistration object to invoke the register the Vector UDF.

name
String

The UDF name.

f
Func<T1,T2,T3,T4,T5,TResult>

The UDF function implementation.

Applies to

RegisterVector<T1,T2,T3,T4,TResult>(UdfRegistration, String, Func<T1,T2,T3,T4,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

public static void RegisterVector<T1,T2,T3,T4,TResult> (this Microsoft.Spark.Sql.UdfRegistration udf, string name, Func<T1,T2,T3,T4,TResult> f) where T1 : Apache.Arrow.IArrowArray where T2 : Apache.Arrow.IArrowArray where T3 : Apache.Arrow.IArrowArray where T4 : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'Result (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)> -> unit (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'T4 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
<Extension()>
Public Sub RegisterVector(Of T1 As IArrowArray, T2 As IArrowArray, T3 As IArrowArray, T4 As IArrowArray, TResult As IArrowArray) (udf As UdfRegistration, name As String, f As Func(Of T1, T2, T3, T4, TResult))

Type Parameters

T1

Specifies the type of the first argument to the UDF.

T2

Specifies the type of the second argument to the UDF.

T3

Specifies the type of the third argument to the UDF.

T4

Specifies the type of the fourth argument to the UDF.

TResult

Specifies the return type of the UDF.

Parameters

udf
UdfRegistration

The UdfRegistration object to invoke the register the Vector UDF.

name
String

The UDF name.

f
Func<T1,T2,T3,T4,TResult>

The UDF function implementation.

Applies to

RegisterVector<T1,T2,T3,TResult>(UdfRegistration, String, Func<T1,T2,T3,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

public static void RegisterVector<T1,T2,T3,TResult> (this Microsoft.Spark.Sql.UdfRegistration udf, string name, Func<T1,T2,T3,TResult> f) where T1 : Apache.Arrow.IArrowArray where T2 : Apache.Arrow.IArrowArray where T3 : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'Result (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)> -> unit (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
<Extension()>
Public Sub RegisterVector(Of T1 As IArrowArray, T2 As IArrowArray, T3 As IArrowArray, TResult As IArrowArray) (udf As UdfRegistration, name As String, f As Func(Of T1, T2, T3, TResult))

Type Parameters

T1

Specifies the type of the first argument to the UDF.

T2

Specifies the type of the second argument to the UDF.

T3

Specifies the type of the third argument to the UDF.

TResult

Specifies the return type of the UDF.

Parameters

udf
UdfRegistration

The UdfRegistration object to invoke the register the Vector UDF.

name
String

The UDF name.

f
Func<T1,T2,T3,TResult>

The UDF function implementation.

Applies to

RegisterVector<T1,T2,TResult>(UdfRegistration, String, Func<T1,T2,TResult>)

Registers the given delegate as a vector user-defined function with the specified name.

public static void RegisterVector<T1,T2,TResult> (this Microsoft.Spark.Sql.UdfRegistration udf, string name, Func<T1,T2,TResult> f) where T1 : Apache.Arrow.IArrowArray where T2 : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'Result (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)> -> unit (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
<Extension()>
Public Sub RegisterVector(Of T1 As IArrowArray, T2 As IArrowArray, TResult As IArrowArray) (udf As UdfRegistration, name As String, f As Func(Of T1, T2, TResult))

Type Parameters

T1

Specifies the type of the first argument to the UDF.

T2

Specifies the type of the second argument to the UDF.

TResult

Specifies the return type of the UDF.

Parameters

udf
UdfRegistration

The UdfRegistration object to invoke the register the Vector UDF.

name
String

The UDF name.

f
Func<T1,T2,TResult>

The UDF function implementation.

Applies to