DataFrameFunctions.VectorUdf Method

Definition

Overloads

VectorUdf<T,TResult>(Func<T,TResult>)

Creates a Vector UDF from the specified delegate.

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.

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.

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.

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.

VectorUdf<T1,T2,T3,T4,T5,T6,TResult>(Func<T1,T2,T3,T4,T5,T6,TResult>)

Creates a Vector UDF from the specified delegate.

VectorUdf<T1,T2,T3,T4,T5,TResult>(Func<T1,T2,T3,T4,T5,TResult>)

Creates a Vector UDF from the specified delegate.

VectorUdf<T1,T2,T3,T4,TResult>(Func<T1,T2,T3,T4,TResult>)

Creates a Vector UDF from the specified delegate.

VectorUdf<T1,T2,T3,TResult>(Func<T1,T2,T3,TResult>)

Creates a Vector UDF from the specified delegate.

VectorUdf<T1,T2,TResult>(Func<T1,T2,TResult>)

Creates a Vector UDF from the specified delegate.

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 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member VectorUdf : Func<'T, 'Result (requires 'T :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (requires 'T :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
Public Shared Function VectorUdf(Of T As DataFrameColumn, TResult As DataFrameColumn) (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 : 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 VectorUdf : 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)> -> 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 :> 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)
Public Shared Function VectorUdf(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 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 : 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 VectorUdf : 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)> -> 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 :> 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)
Public Shared Function VectorUdf(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 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 : 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 VectorUdf : 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)> -> 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 :> 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)
Public Shared Function VectorUdf(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 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 : 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 VectorUdf : 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)> -> 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 :> 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)
Public Shared Function VectorUdf(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 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 : 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 VectorUdf : 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)> -> 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 :> 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)
Public Shared Function VectorUdf(Of T1 As DataFrameColumn, T2 As DataFrameColumn, T3 As DataFrameColumn, T4 As DataFrameColumn, T5 As DataFrameColumn, T6 As DataFrameColumn, TResult As DataFrameColumn) (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 : 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 VectorUdf : 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)> -> 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 :> 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)
Public Shared Function VectorUdf(Of T1 As DataFrameColumn, T2 As DataFrameColumn, T3 As DataFrameColumn, T4 As DataFrameColumn, T5 As DataFrameColumn, TResult As DataFrameColumn) (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 : 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 VectorUdf : 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)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (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)
Public Shared Function VectorUdf(Of T1 As DataFrameColumn, T2 As DataFrameColumn, T3 As DataFrameColumn, T4 As DataFrameColumn, TResult As DataFrameColumn) (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 : Microsoft.Data.Analysis.DataFrameColumn where T2 : Microsoft.Data.Analysis.DataFrameColumn where T3 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member VectorUdf : 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)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'T3 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
Public Shared Function VectorUdf(Of T1 As DataFrameColumn, T2 As DataFrameColumn, T3 As DataFrameColumn, TResult As DataFrameColumn) (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 : Microsoft.Data.Analysis.DataFrameColumn where T2 : Microsoft.Data.Analysis.DataFrameColumn where TResult : Microsoft.Data.Analysis.DataFrameColumn;
static member VectorUdf : Func<'T1, 'T2, 'Result (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)> -> Func<Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column, Microsoft.Spark.Sql.Column> (requires 'T1 :> Microsoft.Data.Analysis.DataFrameColumn and 'T2 :> Microsoft.Data.Analysis.DataFrameColumn and 'Result :> Microsoft.Data.Analysis.DataFrameColumn)
Public Shared Function VectorUdf(Of T1 As DataFrameColumn, T2 As DataFrameColumn, TResult As DataFrameColumn) (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.

Applies to