Megosztás a következőn keresztül:


UdfRegistration.Register Method

Definition

Overloads

Register(String, Func<Row>, StructType)

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

Register<T,TResult>(String, Func<T,TResult>)

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

Register<T>(String, Func<T,Row>, StructType)

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

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

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

Register<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(String, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,Row>, StructType)

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

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

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

Register<T1,T2,T3,T4,T5,T6,T7,T8,T9>(String, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,Row>, StructType)

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

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

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

Register<T1,T2,T3,T4,T5,T6,T7,T8>(String, Func<T1,T2,T3,T4,T5,T6,T7,T8,Row>, StructType)

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

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

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

Register<T1,T2,T3,T4,T5,T6,T7>(String, Func<T1,T2,T3,T4,T5,T6,T7,Row>, StructType)

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

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

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

Register<T1,T2,T3,T4,T5,T6>(String, Func<T1,T2,T3,T4,T5,T6,Row>, StructType)

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

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

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

Register<T1,T2,T3,T4,T5>(String, Func<T1,T2,T3,T4,T5,Row>, StructType)

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

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

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

Register<T1,T2,T3,T4>(String, Func<T1,T2,T3,T4,Row>, StructType)

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

Register<T1,T2,T3,TResult>(String, Func<T1,T2,T3,TResult>)

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

Register<T1,T2,T3>(String, Func<T1,T2,T3,Row>, StructType)

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

Register<T1,T2,TResult>(String, Func<T1,T2,TResult>)

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

Register<T1,T2>(String, Func<T1,T2,Row>, StructType)

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

Register<TResult>(String, Func<TResult>)

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

Register(String, Func<Row>, StructType)

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

public void Register (string name, Func<Microsoft.Spark.Sql.Row> f, Microsoft.Spark.Sql.Types.StructType returnType);
member this.Register : string * Func<Microsoft.Spark.Sql.Row> * Microsoft.Spark.Sql.Types.StructType -> unit
Public Sub Register (name As String, f As Func(Of Row), returnType As StructType)

Parameters

name
String

The UDF name.

f
Func<Row>

The UDF function implementation.

returnType
StructType

Schema associated with this row

Applies to

Register<T,TResult>(String, Func<T,TResult>)

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

public void Register<T,TResult> (string name, Func<T,TResult> f);
member this.Register : string * Func<'T, 'Result> -> unit
Public Sub Register(Of T, TResult) (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

name
String

The UDF name.

f
Func<T,TResult>

The UDF function implementation.

Applies to

Register<T>(String, Func<T,Row>, StructType)

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

public void Register<T> (string name, Func<T,Microsoft.Spark.Sql.Row> f, Microsoft.Spark.Sql.Types.StructType returnType);
member this.Register : string * Func<'T, Microsoft.Spark.Sql.Row> * Microsoft.Spark.Sql.Types.StructType -> unit
Public Sub Register(Of T) (name As String, f As Func(Of T, Row), returnType As StructType)

Type Parameters

T

Specifies the type of the first argument to the UDF.

Parameters

name
String

The UDF name.

f
Func<T,Row>

The UDF function implementation.

returnType
StructType

Schema associated with this row

Applies to

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

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

public void Register<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult> (string name, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,TResult> f);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'Result> -> unit
Public Sub Register(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult) (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

name
String

The UDF name.

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

The UDF function implementation.

Applies to

Register<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>(String, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,Row>, StructType)

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

public void Register<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> (string name, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,Microsoft.Spark.Sql.Row> f, Microsoft.Spark.Sql.Types.StructType returnType);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, Microsoft.Spark.Sql.Row> * Microsoft.Spark.Sql.Types.StructType -> unit
Public Sub Register(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) (name As String, f As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Row), returnType As StructType)

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.

Parameters

name
String

The UDF name.

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

The UDF function implementation.

returnType
StructType

Schema associated with this row

Applies to

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

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

public void Register<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult> (string name, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,TResult> f);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'Result> -> unit
Public Sub Register(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult) (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

name
String

The UDF name.

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

The UDF function implementation.

Applies to

Register<T1,T2,T3,T4,T5,T6,T7,T8,T9>(String, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,Row>, StructType)

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

public void Register<T1,T2,T3,T4,T5,T6,T7,T8,T9> (string name, Func<T1,T2,T3,T4,T5,T6,T7,T8,T9,Microsoft.Spark.Sql.Row> f, Microsoft.Spark.Sql.Types.StructType returnType);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, Microsoft.Spark.Sql.Row> * Microsoft.Spark.Sql.Types.StructType -> unit
Public Sub Register(Of T1, T2, T3, T4, T5, T6, T7, T8, T9) (name As String, f As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, Row), returnType As StructType)

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.

Parameters

name
String

The UDF name.

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

The UDF function implementation.

returnType
StructType

Schema associated with this row

Applies to

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

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

public void Register<T1,T2,T3,T4,T5,T6,T7,T8,TResult> (string name, Func<T1,T2,T3,T4,T5,T6,T7,T8,TResult> f);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'Result> -> unit
Public Sub Register(Of T1, T2, T3, T4, T5, T6, T7, T8, TResult) (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

name
String

The UDF name.

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

The UDF function implementation.

Applies to

Register<T1,T2,T3,T4,T5,T6,T7,T8>(String, Func<T1,T2,T3,T4,T5,T6,T7,T8,Row>, StructType)

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

public void Register<T1,T2,T3,T4,T5,T6,T7,T8> (string name, Func<T1,T2,T3,T4,T5,T6,T7,T8,Microsoft.Spark.Sql.Row> f, Microsoft.Spark.Sql.Types.StructType returnType);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, Microsoft.Spark.Sql.Row> * Microsoft.Spark.Sql.Types.StructType -> unit
Public Sub Register(Of T1, T2, T3, T4, T5, T6, T7, T8) (name As String, f As Func(Of T1, T2, T3, T4, T5, T6, T7, T8, Row), returnType As StructType)

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.

Parameters

name
String

The UDF name.

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

The UDF function implementation.

returnType
StructType

Schema associated with this row

Applies to

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

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

public void Register<T1,T2,T3,T4,T5,T6,T7,TResult> (string name, Func<T1,T2,T3,T4,T5,T6,T7,TResult> f);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'Result> -> unit
Public Sub Register(Of T1, T2, T3, T4, T5, T6, T7, TResult) (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

name
String

The UDF name.

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

The UDF function implementation.

Applies to

Register<T1,T2,T3,T4,T5,T6,T7>(String, Func<T1,T2,T3,T4,T5,T6,T7,Row>, StructType)

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

public void Register<T1,T2,T3,T4,T5,T6,T7> (string name, Func<T1,T2,T3,T4,T5,T6,T7,Microsoft.Spark.Sql.Row> f, Microsoft.Spark.Sql.Types.StructType returnType);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, Microsoft.Spark.Sql.Row> * Microsoft.Spark.Sql.Types.StructType -> unit
Public Sub Register(Of T1, T2, T3, T4, T5, T6, T7) (name As String, f As Func(Of T1, T2, T3, T4, T5, T6, T7, Row), returnType As StructType)

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.

Parameters

name
String

The UDF name.

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

The UDF function implementation.

returnType
StructType

Schema associated with this row

Applies to

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

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

public void Register<T1,T2,T3,T4,T5,T6,TResult> (string name, Func<T1,T2,T3,T4,T5,T6,TResult> f);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'Result> -> unit
Public Sub Register(Of T1, T2, T3, T4, T5, T6, TResult) (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

name
String

The UDF name.

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

The UDF function implementation.

Applies to

Register<T1,T2,T3,T4,T5,T6>(String, Func<T1,T2,T3,T4,T5,T6,Row>, StructType)

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

public void Register<T1,T2,T3,T4,T5,T6> (string name, Func<T1,T2,T3,T4,T5,T6,Microsoft.Spark.Sql.Row> f, Microsoft.Spark.Sql.Types.StructType returnType);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, Microsoft.Spark.Sql.Row> * Microsoft.Spark.Sql.Types.StructType -> unit
Public Sub Register(Of T1, T2, T3, T4, T5, T6) (name As String, f As Func(Of T1, T2, T3, T4, T5, T6, Row), returnType As StructType)

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.

Parameters

name
String

The UDF name.

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

The UDF function implementation.

returnType
StructType

Schema associated with this row

Applies to

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

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

public void Register<T1,T2,T3,T4,T5,TResult> (string name, Func<T1,T2,T3,T4,T5,TResult> f);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'T5, 'Result> -> unit
Public Sub Register(Of T1, T2, T3, T4, T5, TResult) (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

name
String

The UDF name.

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

The UDF function implementation.

Applies to

Register<T1,T2,T3,T4,T5>(String, Func<T1,T2,T3,T4,T5,Row>, StructType)

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

public void Register<T1,T2,T3,T4,T5> (string name, Func<T1,T2,T3,T4,T5,Microsoft.Spark.Sql.Row> f, Microsoft.Spark.Sql.Types.StructType returnType);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'T5, Microsoft.Spark.Sql.Row> * Microsoft.Spark.Sql.Types.StructType -> unit
Public Sub Register(Of T1, T2, T3, T4, T5) (name As String, f As Func(Of T1, T2, T3, T4, T5, Row), returnType As StructType)

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.

Parameters

name
String

The UDF name.

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

The UDF function implementation.

returnType
StructType

Schema associated with this row

Applies to

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

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

public void Register<T1,T2,T3,T4,TResult> (string name, Func<T1,T2,T3,T4,TResult> f);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, 'Result> -> unit
Public Sub Register(Of T1, T2, T3, T4, TResult) (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

name
String

The UDF name.

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

The UDF function implementation.

Applies to

Register<T1,T2,T3,T4>(String, Func<T1,T2,T3,T4,Row>, StructType)

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

public void Register<T1,T2,T3,T4> (string name, Func<T1,T2,T3,T4,Microsoft.Spark.Sql.Row> f, Microsoft.Spark.Sql.Types.StructType returnType);
member this.Register : string * Func<'T1, 'T2, 'T3, 'T4, Microsoft.Spark.Sql.Row> * Microsoft.Spark.Sql.Types.StructType -> unit
Public Sub Register(Of T1, T2, T3, T4) (name As String, f As Func(Of T1, T2, T3, T4, Row), returnType As StructType)

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.

Parameters

name
String

The UDF name.

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

The UDF function implementation.

returnType
StructType

Schema associated with this row

Applies to

Register<T1,T2,T3,TResult>(String, Func<T1,T2,T3,TResult>)

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

public void Register<T1,T2,T3,TResult> (string name, Func<T1,T2,T3,TResult> f);
member this.Register : string * Func<'T1, 'T2, 'T3, 'Result> -> unit
Public Sub Register(Of T1, T2, T3, TResult) (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

name
String

The UDF name.

f
Func<T1,T2,T3,TResult>

The UDF function implementation.

Applies to

Register<T1,T2,T3>(String, Func<T1,T2,T3,Row>, StructType)

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

public void Register<T1,T2,T3> (string name, Func<T1,T2,T3,Microsoft.Spark.Sql.Row> f, Microsoft.Spark.Sql.Types.StructType returnType);
member this.Register : string * Func<'T1, 'T2, 'T3, Microsoft.Spark.Sql.Row> * Microsoft.Spark.Sql.Types.StructType -> unit
Public Sub Register(Of T1, T2, T3) (name As String, f As Func(Of T1, T2, T3, Row), returnType As StructType)

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.

Parameters

name
String

The UDF name.

f
Func<T1,T2,T3,Row>

The UDF function implementation.

returnType
StructType

Schema associated with this row

Applies to

Register<T1,T2,TResult>(String, Func<T1,T2,TResult>)

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

public void Register<T1,T2,TResult> (string name, Func<T1,T2,TResult> f);
member this.Register : string * Func<'T1, 'T2, 'Result> -> unit
Public Sub Register(Of T1, T2, TResult) (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

name
String

The UDF name.

f
Func<T1,T2,TResult>

The UDF function implementation.

Applies to

Register<T1,T2>(String, Func<T1,T2,Row>, StructType)

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

public void Register<T1,T2> (string name, Func<T1,T2,Microsoft.Spark.Sql.Row> f, Microsoft.Spark.Sql.Types.StructType returnType);
member this.Register : string * Func<'T1, 'T2, Microsoft.Spark.Sql.Row> * Microsoft.Spark.Sql.Types.StructType -> unit
Public Sub Register(Of T1, T2) (name As String, f As Func(Of T1, T2, Row), returnType As StructType)

Type Parameters

T1

Specifies the type of the first argument to the UDF.

T2

Specifies the type of the second argument to the UDF.

Parameters

name
String

The UDF name.

f
Func<T1,T2,Row>

The UDF function implementation.

returnType
StructType

Schema associated with this row

Applies to

Register<TResult>(String, Func<TResult>)

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

public void Register<TResult> (string name, Func<TResult> f);
member this.Register : string * Func<'Result> -> unit
Public Sub Register(Of TResult) (name As String, f As Func(Of TResult))

Type Parameters

TResult

Specifies the return type of the UDF.

Parameters

name
String

The UDF name.

f
Func<TResult>

The UDF function implementation.

Applies to