c

com.snowflake.snowpark

UDFRegistration

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

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UDFRegistration
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UDFRegistration(session: Session)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  13. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  14. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  15. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  17. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  19. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  20. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. 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

  28. 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

  29. 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

  30. 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

  31. 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

  32. 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

  33. 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

  34. 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

  35. 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

  36. 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

  37. 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

  38. 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.

  39. 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.

  40. 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.

  41. 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.

  42. 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.

  43. 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.

  44. 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.

  45. 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.

  46. 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.

  47. 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.

  48. 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.

  49. 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

  50. 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

  51. 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

  52. 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

  53. 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

  54. 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

  55. 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

  56. 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

  57. 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

  58. 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

  59. 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

  60. 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

  61. 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

  62. 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

  63. 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

  64. 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

  65. 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

  66. 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

  67. 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

  68. 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

  69. 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

  70. 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

  71. 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

  72. 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

  73. 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

  74. 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

  75. 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

  76. 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

  77. 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

  78. 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

  79. 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

  80. 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

  81. 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

  82. 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.

  83. 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.

  84. 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.

  85. 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.

  86. 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.

  87. 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.

  88. 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.

  89. 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.

  90. 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.

  91. 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.

  92. 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.

  93. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  94. def toString(): String
    Definition Classes
    AnyRef → Any
  95. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  96. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  97. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped