class UDFRegistration extends Logging
Provides methods to register lambdas and functions as UDFs in the Snowflake database.
Session.udf returns an object of this class.
You can use this object to register temporary UDFs that you plan to use in the current session:
session.udf.registerTemporary("mydoubleudf", (x: Int) => x * x) session.sql(s"SELECT mydoubleudf(c) from T)
You can also register permanent UDFs that you can use in subsequent sessions. When registering a permanent UDF, you must specify a stage where the registration method will upload the JAR files for the UDF and any dependencies.
session.udf.registerPermanent("mydoubleudf", (x: Int) => x * x, "mystage") session.sql(s"SELECT mydoubleudf(c) from T)
The methods that register a UDF return a UserDefinedFunction object, which you can use in Column expressions.
val myUdf = session.udf.registerTemporary("mydoubleudf", (x: Int) => x * x) session.table("T").select(myUdf(col("c")))
If you do not need to refer to a UDF by name, use com.snowflake.snowpark.functions.udf to create an anonymous UDF instead.
Snowflake supports the following data types for the parameters for a UDF:
SQL Type | Scala Type | Notes |
|---|---|---|
NUMBER | Int or Option[Int] | Supported |
NUMBER | Long or Option[Long] | Supported |
FLOAT | Float or Option[Float] | Supported |
DOUBLE | Double or Option[Double] | Supported |
NUMBER | java.lang.BigDecimal or java.lang.BigInteger | Supported |
VARCHAR | String or java.lang.String | Supported |
BOOL | Boolean or Option[Boolean] | Supported |
DATE | java.sql.Date | Supported |
TIMESTAMP | java.sql.Timestamp | Supported |
BINARY | Array[Byte] | Supported |
ARRAY | Array[String] or Array[Variant] | Supported array of type Array[String] or Array[Variant] |
OBJECT | Map[String, String] or Map[String, Variant] | Supported mutable map of type scala.collection.mutable.Map[String, String] or scala.collection.mutable.Map[String, Variant] |
GEOGRAPHY | com.snowflake.snowpark.types.Geography | Supported |
VARIANT | com.snowflake.snowpark.types.Variant | Supported |
- Since
0.1.0
- Alphabetic
- By Inheritance
- UDFRegistration
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
registerPermanent(name: String, func: JavaUDF10[_, _, _, _, _, _, _, _, _, _, _], input: Array[DataType], output: DataType, stageLocation: String): UserDefinedFunction
Registers a Java Lambda of 10 arguments as a Snowflake Java UDF.
Registers a Java Lambda of 10 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- stageLocation
a stage location that udf jar files being uploaded to.
- Since
0.7.0
-
def
registerPermanent(name: String, func: JavaUDF9[_, _, _, _, _, _, _, _, _, _], input: Array[DataType], output: DataType, stageLocation: String): UserDefinedFunction
Registers a Java Lambda of 9 arguments as a Snowflake Java UDF.
Registers a Java Lambda of 9 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- stageLocation
a stage location that udf jar files being uploaded to.
- Since
0.7.0
-
def
registerPermanent(name: String, func: JavaUDF8[_, _, _, _, _, _, _, _, _], input: Array[DataType], output: DataType, stageLocation: String): UserDefinedFunction
Registers a Java Lambda of 8 arguments as a Snowflake Java UDF.
Registers a Java Lambda of 8 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- stageLocation
a stage location that udf jar files being uploaded to.
- Since
0.7.0
-
def
registerPermanent(name: String, func: JavaUDF7[_, _, _, _, _, _, _, _], input: Array[DataType], output: DataType, stageLocation: String): UserDefinedFunction
Registers a Java Lambda of 7 arguments as a Snowflake Java UDF.
Registers a Java Lambda of 7 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- stageLocation
a stage location that udf jar files being uploaded to.
- Since
0.7.0
-
def
registerPermanent(name: String, func: JavaUDF6[_, _, _, _, _, _, _], input: Array[DataType], output: DataType, stageLocation: String): UserDefinedFunction
Registers a Java Lambda of 6 arguments as a Snowflake Java UDF.
Registers a Java Lambda of 6 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- stageLocation
a stage location that udf jar files being uploaded to.
- Since
0.7.0
-
def
registerPermanent(name: String, func: JavaUDF5[_, _, _, _, _, _], input: Array[DataType], output: DataType, stageLocation: String): UserDefinedFunction
Registers a Java Lambda of 5 arguments as a Snowflake Java UDF.
Registers a Java Lambda of 5 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- stageLocation
a stage location that udf jar files being uploaded to.
- Since
0.7.0
-
def
registerPermanent(name: String, func: JavaUDF4[_, _, _, _, _], input: Array[DataType], output: DataType, stageLocation: String): UserDefinedFunction
Registers a Java Lambda of 4 arguments as a Snowflake Java UDF.
Registers a Java Lambda of 4 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- stageLocation
a stage location that udf jar files being uploaded to.
- Since
0.7.0
-
def
registerPermanent(name: String, func: JavaUDF3[_, _, _, _], input: Array[DataType], output: DataType, stageLocation: String): UserDefinedFunction
Registers a Java Lambda of 3 arguments as a Snowflake Java UDF.
Registers a Java Lambda of 3 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- stageLocation
a stage location that udf jar files being uploaded to.
- Since
0.7.0
-
def
registerPermanent(name: String, func: JavaUDF2[_, _, _], input: Array[DataType], output: DataType, stageLocation: String): UserDefinedFunction
Registers a Java Lambda of 2 arguments as a Snowflake Java UDF.
Registers a Java Lambda of 2 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- stageLocation
a stage location that udf jar files being uploaded to.
- Since
0.7.0
-
def
registerPermanent(name: String, func: JavaUDF1[_, _], input: DataType, output: DataType, stageLocation: String): UserDefinedFunction
Registers a Java Lambda of 1 argument as a Snowflake Java UDF.
Registers a Java Lambda of 1 argument as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataType
- output
the UDF return types.DataType
- stageLocation
a stage location that udf jar files being uploaded to.
- Since
0.7.0
-
def
registerPermanent(name: String, func: JavaUDF0[_], output: DataType, stageLocation: String): UserDefinedFunction
Registers a Java Lambda of 0 argument as a Snowflake Java UDF.
Registers a Java Lambda of 0 argument as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- output
the UDF return types.DataType
- stageLocation
a stage location that udf jar files being uploaded to.
- Since
0.7.0
-
def
registerPermanent[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10) ⇒ RT, stageLocation: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6], arg7: scala.reflect.api.JavaUniverse.TypeTag[A7], arg8: scala.reflect.api.JavaUniverse.TypeTag[A8], arg9: scala.reflect.api.JavaUniverse.TypeTag[A9], arg10: scala.reflect.api.JavaUniverse.TypeTag[A10]): UserDefinedFunction
Registers a Scala closure of 10 arguments as a Snowflake Java UDF.
Registers a Scala closure of 10 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- RT
Return type of the UDF.
- stageLocation
Stage location where the JAR files for the UDF and its and its dependencies should be uploaded.
-
def
registerPermanent[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9) ⇒ RT, stageLocation: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6], arg7: scala.reflect.api.JavaUniverse.TypeTag[A7], arg8: scala.reflect.api.JavaUniverse.TypeTag[A8], arg9: scala.reflect.api.JavaUniverse.TypeTag[A9]): UserDefinedFunction
Registers a Scala closure of 9 arguments as a Snowflake Java UDF.
Registers a Scala closure of 9 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- RT
Return type of the UDF.
- stageLocation
Stage location where the JAR files for the UDF and its and its dependencies should be uploaded.
-
def
registerPermanent[RT, A1, A2, A3, A4, A5, A6, A7, A8](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8) ⇒ RT, stageLocation: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6], arg7: scala.reflect.api.JavaUniverse.TypeTag[A7], arg8: scala.reflect.api.JavaUniverse.TypeTag[A8]): UserDefinedFunction
Registers a Scala closure of 8 arguments as a Snowflake Java UDF.
Registers a Scala closure of 8 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- RT
Return type of the UDF.
- stageLocation
Stage location where the JAR files for the UDF and its and its dependencies should be uploaded.
-
def
registerPermanent[RT, A1, A2, A3, A4, A5, A6, A7](name: String, func: (A1, A2, A3, A4, A5, A6, A7) ⇒ RT, stageLocation: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6], arg7: scala.reflect.api.JavaUniverse.TypeTag[A7]): UserDefinedFunction
Registers a Scala closure of 7 arguments as a Snowflake Java UDF.
Registers a Scala closure of 7 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- RT
Return type of the UDF.
- stageLocation
Stage location where the JAR files for the UDF and its and its dependencies should be uploaded.
-
def
registerPermanent[RT, A1, A2, A3, A4, A5, A6](name: String, func: (A1, A2, A3, A4, A5, A6) ⇒ RT, stageLocation: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6]): UserDefinedFunction
Registers a Scala closure of 6 arguments as a Snowflake Java UDF.
Registers a Scala closure of 6 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- RT
Return type of the UDF.
- stageLocation
Stage location where the JAR files for the UDF and its and its dependencies should be uploaded.
-
def
registerPermanent[RT, A1, A2, A3, A4, A5](name: String, func: (A1, A2, A3, A4, A5) ⇒ RT, stageLocation: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5]): UserDefinedFunction
Registers a Scala closure of 5 arguments as a Snowflake Java UDF.
Registers a Scala closure of 5 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- RT
Return type of the UDF.
- stageLocation
Stage location where the JAR files for the UDF and its and its dependencies should be uploaded.
-
def
registerPermanent[RT, A1, A2, A3, A4](name: String, func: (A1, A2, A3, A4) ⇒ RT, stageLocation: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4]): UserDefinedFunction
Registers a Scala closure of 4 arguments as a Snowflake Java UDF.
Registers a Scala closure of 4 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- RT
Return type of the UDF.
- stageLocation
Stage location where the JAR files for the UDF and its and its dependencies should be uploaded.
-
def
registerPermanent[RT, A1, A2, A3](name: String, func: (A1, A2, A3) ⇒ RT, stageLocation: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3]): UserDefinedFunction
Registers a Scala closure of 3 arguments as a Snowflake Java UDF.
Registers a Scala closure of 3 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- RT
Return type of the UDF.
- stageLocation
Stage location where the JAR files for the UDF and its and its dependencies should be uploaded.
-
def
registerPermanent[RT, A1, A2](name: String, func: (A1, A2) ⇒ RT, stageLocation: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2]): UserDefinedFunction
Registers a Scala closure of 2 arguments as a Snowflake Java UDF.
Registers a Scala closure of 2 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- RT
Return type of the UDF.
- stageLocation
Stage location where the JAR files for the UDF and its and its dependencies should be uploaded.
-
def
registerPermanent[RT, A1](name: String, func: (A1) ⇒ RT, stageLocation: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1]): UserDefinedFunction
Registers a Scala closure of 1 argument as a Snowflake Java UDF.
Registers a Scala closure of 1 argument as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- RT
Return type of the UDF.
- stageLocation
Stage location where the JAR files for the UDF and its and its dependencies should be uploaded.
-
def
registerPermanent[RT](name: String, func: () ⇒ RT, stageLocation: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT]): UserDefinedFunction
Registers a Scala closure of 0 arguments as a Snowflake Java UDF.
Registers a Scala closure of 0 arguments as a Snowflake Java UDF.
The function uploads the JAR files that the UDF depends upon to the specified stage. Each JAR file is uploaded to a subdirectory named after the MD5 checksum for the file.
If you register multiple UDFs and specify the same stage location, any dependent JAR files used by those functions will only be uploaded once. The JAR file for the UDF code itself will be uploaded to a subdirectory named after the UDF.
- RT
Return type of the UDF.
- stageLocation
Stage location where the JAR files for the UDF and its and its dependencies should be uploaded.
-
def
registerTemporary(name: String, func: JavaUDF10[_, _, _, _, _, _, _, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 10 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Java Lambda of 10 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(name: String, func: JavaUDF9[_, _, _, _, _, _, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 9 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Java Lambda of 9 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(name: String, func: JavaUDF8[_, _, _, _, _, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 8 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Java Lambda of 8 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(name: String, func: JavaUDF7[_, _, _, _, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 7 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Java Lambda of 7 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(name: String, func: JavaUDF6[_, _, _, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 6 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Java Lambda of 6 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(name: String, func: JavaUDF5[_, _, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 5 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Java Lambda of 5 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(name: String, func: JavaUDF4[_, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 4 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Java Lambda of 4 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(name: String, func: JavaUDF3[_, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 3 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Java Lambda of 3 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(name: String, func: JavaUDF2[_, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 2 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Java Lambda of 2 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(name: String, func: JavaUDF1[_, _], input: DataType, output: DataType): UserDefinedFunction
Registers a Java Lambda of 1 argument as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Java Lambda of 1 argument as a temporary Snowflake Java UDF that you plan to use in the current session.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataType
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(name: String, func: JavaUDF0[_], output: DataType): UserDefinedFunction
Registers a Java Lambda of 0 argument as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Java Lambda of 0 argument as a temporary Snowflake Java UDF that you plan to use in the current session.
- name
the name temporary udf being registered.
- func
the Java Lambda to be registered.
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(func: JavaUDF10[_, _, _, _, _, _, _, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 10 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Java Lambda of 10 arguments as a temporary anonymous UDF that is scoped to this session.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(func: JavaUDF9[_, _, _, _, _, _, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 9 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Java Lambda of 9 arguments as a temporary anonymous UDF that is scoped to this session.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(func: JavaUDF8[_, _, _, _, _, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 8 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Java Lambda of 8 arguments as a temporary anonymous UDF that is scoped to this session.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(func: JavaUDF7[_, _, _, _, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 7 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Java Lambda of 7 arguments as a temporary anonymous UDF that is scoped to this session.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(func: JavaUDF6[_, _, _, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 6 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Java Lambda of 6 arguments as a temporary anonymous UDF that is scoped to this session.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(func: JavaUDF5[_, _, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 5 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Java Lambda of 5 arguments as a temporary anonymous UDF that is scoped to this session.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(func: JavaUDF4[_, _, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 4 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Java Lambda of 4 arguments as a temporary anonymous UDF that is scoped to this session.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(func: JavaUDF3[_, _, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 3 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Java Lambda of 3 arguments as a temporary anonymous UDF that is scoped to this session.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(func: JavaUDF2[_, _, _], input: Array[DataType], output: DataType): UserDefinedFunction
Registers a Java Lambda of 2 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Java Lambda of 2 arguments as a temporary anonymous UDF that is scoped to this session.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataTypes
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(func: JavaUDF1[_, _], input: DataType, output: DataType): UserDefinedFunction
Registers a Java Lambda of 1 argument as a temporary anonymous UDF that is scoped to this session.
Registers a Java Lambda of 1 argument as a temporary anonymous UDF that is scoped to this session.
- func
the Java Lambda to be registered.
- input
the UDF input types.DataType
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary(func: JavaUDF0[_], output: DataType): UserDefinedFunction
Registers a Java Lambda of 0 argument as a temporary anonymous UDF that is scoped to this session.
Registers a Java Lambda of 0 argument as a temporary anonymous UDF that is scoped to this session.
- func
the Java Lambda to be registered.
- output
the UDF return types.DataType
- Since
0.7.0
-
def
registerTemporary[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6], arg7: scala.reflect.api.JavaUniverse.TypeTag[A7], arg8: scala.reflect.api.JavaUniverse.TypeTag[A8], arg9: scala.reflect.api.JavaUniverse.TypeTag[A9], arg10: scala.reflect.api.JavaUniverse.TypeTag[A10]): UserDefinedFunction
Registers a Scala closure of 10 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Scala closure of 10 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- RT
Return type of the UDF.
- Since
0.1.0
-
def
registerTemporary[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6], arg7: scala.reflect.api.JavaUniverse.TypeTag[A7], arg8: scala.reflect.api.JavaUniverse.TypeTag[A8], arg9: scala.reflect.api.JavaUniverse.TypeTag[A9]): UserDefinedFunction
Registers a Scala closure of 9 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Scala closure of 9 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- RT
Return type of the UDF.
- Since
0.1.0
-
def
registerTemporary[RT, A1, A2, A3, A4, A5, A6, A7, A8](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6], arg7: scala.reflect.api.JavaUniverse.TypeTag[A7], arg8: scala.reflect.api.JavaUniverse.TypeTag[A8]): UserDefinedFunction
Registers a Scala closure of 8 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Scala closure of 8 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- RT
Return type of the UDF.
- Since
0.1.0
-
def
registerTemporary[RT, A1, A2, A3, A4, A5, A6, A7](name: String, func: (A1, A2, A3, A4, A5, A6, A7) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6], arg7: scala.reflect.api.JavaUniverse.TypeTag[A7]): UserDefinedFunction
Registers a Scala closure of 7 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Scala closure of 7 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- RT
Return type of the UDF.
- Since
0.1.0
-
def
registerTemporary[RT, A1, A2, A3, A4, A5, A6](name: String, func: (A1, A2, A3, A4, A5, A6) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6]): UserDefinedFunction
Registers a Scala closure of 6 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Scala closure of 6 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- RT
Return type of the UDF.
- Since
0.1.0
-
def
registerTemporary[RT, A1, A2, A3, A4, A5](name: String, func: (A1, A2, A3, A4, A5) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5]): UserDefinedFunction
Registers a Scala closure of 5 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Scala closure of 5 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- RT
Return type of the UDF.
- Since
0.1.0
-
def
registerTemporary[RT, A1, A2, A3, A4](name: String, func: (A1, A2, A3, A4) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4]): UserDefinedFunction
Registers a Scala closure of 4 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Scala closure of 4 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- RT
Return type of the UDF.
- Since
0.1.0
-
def
registerTemporary[RT, A1, A2, A3](name: String, func: (A1, A2, A3) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3]): UserDefinedFunction
Registers a Scala closure of 3 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Scala closure of 3 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- RT
Return type of the UDF.
- Since
0.1.0
-
def
registerTemporary[RT, A1, A2](name: String, func: (A1, A2) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2]): UserDefinedFunction
Registers a Scala closure of 2 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Scala closure of 2 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- RT
Return type of the UDF.
- Since
0.1.0
-
def
registerTemporary[RT, A1](name: String, func: (A1) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1]): UserDefinedFunction
Registers a Scala closure of 1 argument as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Scala closure of 1 argument as a temporary Snowflake Java UDF that you plan to use in the current session.
- RT
Return type of the UDF.
- Since
0.1.0
-
def
registerTemporary[RT](name: String, func: () ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT]): UserDefinedFunction
Registers a Scala closure of 0 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
Registers a Scala closure of 0 arguments as a temporary Snowflake Java UDF that you plan to use in the current session.
- RT
Return type of the UDF.
- Since
0.1.0
-
def
registerTemporary[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10](func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6], arg7: scala.reflect.api.JavaUniverse.TypeTag[A7], arg8: scala.reflect.api.JavaUniverse.TypeTag[A8], arg9: scala.reflect.api.JavaUniverse.TypeTag[A9], arg10: scala.reflect.api.JavaUniverse.TypeTag[A10]): UserDefinedFunction
Registers a Scala closure of 10 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Scala closure of 10 arguments as a temporary anonymous UDF that is scoped to this session.
- RT
Return type of the UDF.
-
def
registerTemporary[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9](func: (A1, A2, A3, A4, A5, A6, A7, A8, A9) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6], arg7: scala.reflect.api.JavaUniverse.TypeTag[A7], arg8: scala.reflect.api.JavaUniverse.TypeTag[A8], arg9: scala.reflect.api.JavaUniverse.TypeTag[A9]): UserDefinedFunction
Registers a Scala closure of 9 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Scala closure of 9 arguments as a temporary anonymous UDF that is scoped to this session.
- RT
Return type of the UDF.
-
def
registerTemporary[RT, A1, A2, A3, A4, A5, A6, A7, A8](func: (A1, A2, A3, A4, A5, A6, A7, A8) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6], arg7: scala.reflect.api.JavaUniverse.TypeTag[A7], arg8: scala.reflect.api.JavaUniverse.TypeTag[A8]): UserDefinedFunction
Registers a Scala closure of 8 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Scala closure of 8 arguments as a temporary anonymous UDF that is scoped to this session.
- RT
Return type of the UDF.
-
def
registerTemporary[RT, A1, A2, A3, A4, A5, A6, A7](func: (A1, A2, A3, A4, A5, A6, A7) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6], arg7: scala.reflect.api.JavaUniverse.TypeTag[A7]): UserDefinedFunction
Registers a Scala closure of 7 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Scala closure of 7 arguments as a temporary anonymous UDF that is scoped to this session.
- RT
Return type of the UDF.
-
def
registerTemporary[RT, A1, A2, A3, A4, A5, A6](func: (A1, A2, A3, A4, A5, A6) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5], arg6: scala.reflect.api.JavaUniverse.TypeTag[A6]): UserDefinedFunction
Registers a Scala closure of 6 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Scala closure of 6 arguments as a temporary anonymous UDF that is scoped to this session.
- RT
Return type of the UDF.
-
def
registerTemporary[RT, A1, A2, A3, A4, A5](func: (A1, A2, A3, A4, A5) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4], arg5: scala.reflect.api.JavaUniverse.TypeTag[A5]): UserDefinedFunction
Registers a Scala closure of 5 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Scala closure of 5 arguments as a temporary anonymous UDF that is scoped to this session.
- RT
Return type of the UDF.
-
def
registerTemporary[RT, A1, A2, A3, A4](func: (A1, A2, A3, A4) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3], arg4: scala.reflect.api.JavaUniverse.TypeTag[A4]): UserDefinedFunction
Registers a Scala closure of 4 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Scala closure of 4 arguments as a temporary anonymous UDF that is scoped to this session.
- RT
Return type of the UDF.
-
def
registerTemporary[RT, A1, A2, A3](func: (A1, A2, A3) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2], arg3: scala.reflect.api.JavaUniverse.TypeTag[A3]): UserDefinedFunction
Registers a Scala closure of 3 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Scala closure of 3 arguments as a temporary anonymous UDF that is scoped to this session.
- RT
Return type of the UDF.
-
def
registerTemporary[RT, A1, A2](func: (A1, A2) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1], arg2: scala.reflect.api.JavaUniverse.TypeTag[A2]): UserDefinedFunction
Registers a Scala closure of 2 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Scala closure of 2 arguments as a temporary anonymous UDF that is scoped to this session.
- RT
Return type of the UDF.
-
def
registerTemporary[RT, A1](func: (A1) ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT], arg1: scala.reflect.api.JavaUniverse.TypeTag[A1]): UserDefinedFunction
Registers a Scala closure of 1 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Scala closure of 1 arguments as a temporary anonymous UDF that is scoped to this session.
- RT
Return type of the UDF.
-
def
registerTemporary[RT](func: () ⇒ RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT]): UserDefinedFunction
Registers a Scala closure of 0 arguments as a temporary anonymous UDF that is scoped to this session.
Registers a Scala closure of 0 arguments as a temporary anonymous UDF that is scoped to this session.
- RT
Return type of the UDF.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()