ArrowFunctions.VectorUdf 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
VectorUdf<T,TResult>(Func<T,TResult>)
Creates a Vector UDF from the specified delegate.
public static Func<Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column> VectorUdf<T,TResult> (Func<T,TResult> udf) where T : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member VectorUdf : Func<'T, 'Result (requires 'T :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (requires 'T :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
Public Shared Function VectorUdf(Of T As IArrowArray, TResult As IArrowArray) (udf As Func(Of T, TResult)) As Func(Of Column, Column)
Type Parameters
- T
Specifies the type of the first argument to the UDF.
- TResult
Specifies the return type of the UDF.
Parameters
- udf
- Func<T,TResult>
The Vector UDF function implementation.
Returns
A delegate that returns a Column for the result of the Vector UDF.
Applies to
VectorUdf<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>(Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>)
Creates a Vector UDF from the specified delegate.
public static Func<Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column> VectorUdf<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult> (Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult> udf) 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 VectorUdf : 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)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (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)
Public Shared Function VectorUdf(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 Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult)) As Func(Of Column, Column, Column, Column, Column, Column, Column, Column, Column, Column, Column)
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
- Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult>
The Vector UDF function implementation.
Returns
A delegate that returns a Column for the result of the Vector UDF.
Applies to
VectorUdf<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>(Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>)
Creates a Vector UDF from the specified delegate.
public static Func<Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column> VectorUdf<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult> (Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult> udf) 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 VectorUdf : 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)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (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)
Public Shared Function VectorUdf(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 Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult)) As Func(Of Column, Column, Column, Column, Column, Column, Column, Column, Column, Column)
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
- Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult>
The Vector UDF function implementation.
Returns
A delegate that returns a Column for the result of the Vector UDF.
Applies to
VectorUdf<T1,T2,T3,T4,T5,T6,T7,T8,TResult>(Func<T1,T2,T3,T4,T5,T6,T7,T8,TResult>)
Creates a Vector UDF from the specified delegate.
public static Func<Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column> VectorUdf<T1,T2,T3,T4,T5,T6,T7,T8,TResult> (Func<T1,T2,T3,T4,T5,T6,T7,T8,TResult> udf) 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 VectorUdf : 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)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (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)
Public Shared Function VectorUdf(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 Func(Of T1, T2, T3, T4, T5, T6, T7, T8, TResult)) As Func(Of Column, Column, Column, Column, Column, Column, Column, Column, Column)
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
- Func<T1,T2,T3,T4,T5,T6,T7,T8,TResult>
The Vector UDF function implementation.
Returns
A delegate that returns a Column for the result of the Vector UDF.
Applies to
VectorUdf<T1,T2,T3,T4,T5,T6,T7,TResult>(Func<T1,T2,T3,T4,T5,T6,T7,TResult>)
Creates a Vector UDF from the specified delegate.
public static Func<Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column> VectorUdf<T1,T2,T3,T4,T5,T6,T7,TResult> (Func<T1,T2,T3,T4,T5,T6,T7,TResult> udf) 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 VectorUdf : 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)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (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)
Public Shared Function VectorUdf(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 Func(Of T1, T2, T3, T4, T5, T6, T7, TResult)) As Func(Of Column, Column, Column, Column, Column, Column, Column, Column)
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
- Func<T1,T2,T3,T4,T5,T6,T7,TResult>
The Vector UDF function implementation.
Returns
A delegate that returns a Column for the result of the Vector UDF.
Applies to
VectorUdf<T1,T2,T3,T4,T5,T6,TResult>(Func<T1,T2,T3,T4,T5,T6,TResult>)
Creates a Vector UDF from the specified delegate.
public static Func<Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column> VectorUdf<T1,T2,T3,T4,T5,T6,TResult> (Func<T1,T2,T3,T4,T5,T6,TResult> udf) 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 VectorUdf : 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)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (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)
Public Shared Function VectorUdf(Of T1 As IArrowArray, T2 As IArrowArray, T3 As IArrowArray, T4 As IArrowArray, T5 As IArrowArray, T6 As IArrowArray, TResult As IArrowArray) (udf As Func(Of T1, T2, T3, T4, T5, T6, TResult)) As Func(Of Column, Column, Column, Column, Column, Column, Column)
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
- Func<T1,T2,T3,T4,T5,T6,TResult>
The Vector UDF function implementation.
Returns
A delegate that returns a Column for the result of the Vector UDF.
Applies to
VectorUdf<T1,T2,T3,T4,T5,TResult>(Func<T1,T2,T3,T4,T5,TResult>)
Creates a Vector UDF from the specified delegate.
public static Func<Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column> VectorUdf<T1,T2,T3,T4,T5,TResult> (Func<T1,T2,T3,T4,T5,TResult> udf) 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 VectorUdf : 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)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (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)
Public Shared Function VectorUdf(Of T1 As IArrowArray, T2 As IArrowArray, T3 As IArrowArray, T4 As IArrowArray, T5 As IArrowArray, TResult As IArrowArray) (udf As Func(Of T1, T2, T3, T4, T5, TResult)) As Func(Of Column, Column, Column, Column, Column, Column)
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
- Func<T1,T2,T3,T4,T5,TResult>
The Vector UDF function implementation.
Returns
A delegate that returns a Column for the result of the Vector UDF.
Applies to
VectorUdf<T1,T2,T3,T4,TResult>(Func<T1,T2,T3,T4,TResult>)
Creates a Vector UDF from the specified delegate.
public static Func<Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column> VectorUdf<T1,T2,T3,T4,TResult> (Func<T1,T2,T3,T4,TResult> udf) 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 VectorUdf : 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)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (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)
Public Shared Function VectorUdf(Of T1 As IArrowArray, T2 As IArrowArray, T3 As IArrowArray, T4 As IArrowArray, TResult As IArrowArray) (udf As Func(Of T1, T2, T3, T4, TResult)) As Func(Of Column, Column, Column, Column, Column)
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
- Func<T1,T2,T3,T4,TResult>
The Vector UDF function implementation.
Returns
A delegate that returns a Column for the result of the Vector UDF.
Applies to
VectorUdf<T1,T2,T3,TResult>(Func<T1,T2,T3,TResult>)
Creates a Vector UDF from the specified delegate.
public static Func<Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column> VectorUdf<T1,T2,T3,TResult> (Func<T1,T2,T3,TResult> udf) where T1 : Apache.Arrow.IArrowArray where T2 : Apache.Arrow.IArrowArray where T3 : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member VectorUdf : 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)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'T3 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
Public Shared Function VectorUdf(Of T1 As IArrowArray, T2 As IArrowArray, T3 As IArrowArray, TResult As IArrowArray) (udf As Func(Of T1, T2, T3, TResult)) As Func(Of Column, Column, Column, Column)
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
- Func<T1,T2,T3,TResult>
The Vector UDF function implementation.
Returns
A delegate that returns a Column for the result of the Vector UDF.
Applies to
VectorUdf<T1,T2,TResult>(Func<T1,T2,TResult>)
Creates a Vector UDF from the specified delegate.
public static Func<Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column,Microsoft.Spark.Sql.Column> VectorUdf<T1,T2,TResult> (Func<T1,T2,TResult> udf) where T1 : Apache.Arrow.IArrowArray where T2 : Apache.Arrow.IArrowArray where TResult : Apache.Arrow.IArrowArray;
static member VectorUdf : Func<'T1, 'T2, 'Result (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (requires 'T1 :> Apache.Arrow.IArrowArray and 'T2 :> Apache.Arrow.IArrowArray and 'Result :> Apache.Arrow.IArrowArray)
Public Shared Function VectorUdf(Of T1 As IArrowArray, T2 As IArrowArray, TResult As IArrowArray) (udf As Func(Of T1, T2, TResult)) As Func(Of Column, Column, Column)
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
- Func<T1,T2,TResult>
The Vector UDF function implementation.
Returns
A delegate that returns a Column for the result of the Vector UDF.