DataFrameUdfRegistrationExtensions.RegisterVector Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T, 'Result (requires 'T :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)> -> unit (requires 'T :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
<Extension()>
Public Sub RegisterVector(Of T As DataFrameColumn, TResult As DataFrameColumn) (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 : Microsoft.Data.Analysis.DataFrameColumn where T2 : Microsoft.Data.Analysis.DataFrameColumn where T3 : Microsoft.Data.Analysis.DataFrameColumn where T4 : Microsoft.Data.Analysis.DataFrameColumn where T5 : Microsoft.Data.Analysis.DataFrameColumn where T6 : Microsoft.Data.Analysis.DataFrameColumn where T7 : Microsoft.Data.Analysis.DataFrameColumn where T8 : Microsoft.Data.Analysis.DataFrameColumn where T9 : Microsoft.Data.Analysis.DataFrameColumn where T10 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'Result (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'T5 :> Microsoft.Data.Analysis.DataFrameColumn and 'T6 :> Microsoft.Data.Analysis.DataFrameColumn and 'T7 :> Microsoft.Data.Analysis.DataFrameColumn and 'T8 :> Microsoft.Data.Analysis.DataFrameColumn and 'T9 :> Microsoft.Data.Analysis.DataFrameColumn and 'T10 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)> -> unit (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'T5 :> Microsoft.Data.Analysis.DataFrameColumn and 'T6 :> Microsoft.Data.Analysis.DataFrameColumn and 'T7 :> Microsoft.Data.Analysis.DataFrameColumn and 'T8 :> Microsoft.Data.Analysis.DataFrameColumn and 'T9 :> Microsoft.Data.Analysis.DataFrameColumn and 'T10 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
<Extension()>
Public Sub RegisterVector(Of T1 As DataFrameColumn, T2 As DataFrameColumn, T3 As DataFrameColumn, T4 As DataFrameColumn, T5 As DataFrameColumn, T6 As DataFrameColumn, T7 As DataFrameColumn, T8 As DataFrameColumn, T9 As DataFrameColumn, T10 As DataFrameColumn, TResult As DataFrameColumn) (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 : Microsoft.Data.Analysis.DataFrameColumn where T2 : Microsoft.Data.Analysis.DataFrameColumn where T3 : Microsoft.Data.Analysis.DataFrameColumn where T4 : Microsoft.Data.Analysis.DataFrameColumn where T5 : Microsoft.Data.Analysis.DataFrameColumn where T6 : Microsoft.Data.Analysis.DataFrameColumn where T7 : Microsoft.Data.Analysis.DataFrameColumn where T8 : Microsoft.Data.Analysis.DataFrameColumn where T9 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'Result (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'T5 :> Microsoft.Data.Analysis.DataFrameColumn and 'T6 :> Microsoft.Data.Analysis.DataFrameColumn and 'T7 :> Microsoft.Data.Analysis.DataFrameColumn and 'T8 :> Microsoft.Data.Analysis.DataFrameColumn and 'T9 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)> -> unit (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'T5 :> Microsoft.Data.Analysis.DataFrameColumn and 'T6 :> Microsoft.Data.Analysis.DataFrameColumn and 'T7 :> Microsoft.Data.Analysis.DataFrameColumn and 'T8 :> Microsoft.Data.Analysis.DataFrameColumn and 'T9 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
<Extension()>
Public Sub RegisterVector(Of T1 As DataFrameColumn, T2 As DataFrameColumn, T3 As DataFrameColumn, T4 As DataFrameColumn, T5 As DataFrameColumn, T6 As DataFrameColumn, T7 As DataFrameColumn, T8 As DataFrameColumn, T9 As DataFrameColumn, TResult As DataFrameColumn) (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 : Microsoft.Data.Analysis.DataFrameColumn where T2 : Microsoft.Data.Analysis.DataFrameColumn where T3 : Microsoft.Data.Analysis.DataFrameColumn where T4 : Microsoft.Data.Analysis.DataFrameColumn where T5 : Microsoft.Data.Analysis.DataFrameColumn where T6 : Microsoft.Data.Analysis.DataFrameColumn where T7 : Microsoft.Data.Analysis.DataFrameColumn where T8 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'Result (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'T5 :> Microsoft.Data.Analysis.DataFrameColumn and 'T6 :> Microsoft.Data.Analysis.DataFrameColumn and 'T7 :> Microsoft.Data.Analysis.DataFrameColumn and 'T8 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)> -> unit (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'T5 :> Microsoft.Data.Analysis.DataFrameColumn and 'T6 :> Microsoft.Data.Analysis.DataFrameColumn and 'T7 :> Microsoft.Data.Analysis.DataFrameColumn and 'T8 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
<Extension()>
Public Sub RegisterVector(Of T1 As DataFrameColumn, T2 As DataFrameColumn, T3 As DataFrameColumn, T4 As DataFrameColumn, T5 As DataFrameColumn, T6 As DataFrameColumn, T7 As DataFrameColumn, T8 As DataFrameColumn, TResult As DataFrameColumn) (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 : Microsoft.Data.Analysis.DataFrameColumn where T2 : Microsoft.Data.Analysis.DataFrameColumn where T3 : Microsoft.Data.Analysis.DataFrameColumn where T4 : Microsoft.Data.Analysis.DataFrameColumn where T5 : Microsoft.Data.Analysis.DataFrameColumn where T6 : Microsoft.Data.Analysis.DataFrameColumn where T7 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'Result (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'T5 :> Microsoft.Data.Analysis.DataFrameColumn and 'T6 :> Microsoft.Data.Analysis.DataFrameColumn and 'T7 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)> -> unit (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'T5 :> Microsoft.Data.Analysis.DataFrameColumn and 'T6 :> Microsoft.Data.Analysis.DataFrameColumn and 'T7 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
<Extension()>
Public Sub RegisterVector(Of T1 As DataFrameColumn, T2 As DataFrameColumn, T3 As DataFrameColumn, T4 As DataFrameColumn, T5 As DataFrameColumn, T6 As DataFrameColumn, T7 As DataFrameColumn, TResult As DataFrameColumn) (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 : Microsoft.Data.Analysis.DataFrameColumn where T2 : Microsoft.Data.Analysis.DataFrameColumn where T3 : Microsoft.Data.Analysis.DataFrameColumn where T4 : Microsoft.Data.Analysis.DataFrameColumn where T5 : Microsoft.Data.Analysis.DataFrameColumn where T6 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'Result (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'T5 :> Microsoft.Data.Analysis.DataFrameColumn and 'T6 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)> -> unit (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'T5 :> Microsoft.Data.Analysis.DataFrameColumn and 'T6 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
<Extension()>
Public Sub RegisterVector(Of T1 As DataFrameColumn, T2 As DataFrameColumn, T3 As DataFrameColumn, T4 As DataFrameColumn, T5 As DataFrameColumn, T6 As DataFrameColumn, TResult As DataFrameColumn) (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 : Microsoft.Data.Analysis.DataFrameColumn where T2 : Microsoft.Data.Analysis.DataFrameColumn where T3 : Microsoft.Data.Analysis.DataFrameColumn where T4 : Microsoft.Data.Analysis.DataFrameColumn where T5 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'Result (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'T5 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)> -> unit (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'T5 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
<Extension()>
Public Sub RegisterVector(Of T1 As DataFrameColumn, T2 As DataFrameColumn, T3 As DataFrameColumn, T4 As DataFrameColumn, T5 As DataFrameColumn, TResult As DataFrameColumn) (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 : Microsoft.Data.Analysis.DataFrameColumn where T2 : Microsoft.Data.Analysis.DataFrameColumn where T3 : Microsoft.Data.Analysis.DataFrameColumn where T4 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'T4, 'Result (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)> -> unit (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'T4 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
<Extension()>
Public Sub RegisterVector(Of T1 As DataFrameColumn, T2 As DataFrameColumn, T3 As DataFrameColumn, T4 As DataFrameColumn, TResult As DataFrameColumn) (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 : Microsoft.Data.Analysis.DataFrameColumn where T2 : Microsoft.Data.Analysis.DataFrameColumn where T3 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'T3, 'Result (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)> -> unit (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
<Extension()>
Public Sub RegisterVector(Of T1 As DataFrameColumn, T2 As DataFrameColumn, T3 As DataFrameColumn, TResult As DataFrameColumn) (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 : Microsoft.Data.Analysis.DataFrameColumn where T2 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member RegisterVector : Microsoft.Spark.Sql.UdfRegistration * string * Func<'T1, 'T2, 'Result (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)> -> unit (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
<Extension()>
Public Sub RegisterVector(Of T1 As DataFrameColumn, T2 As DataFrameColumn, TResult As DataFrameColumn) (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.