Packages

c

org.apache.spark.sql

UDFRegistration

class UDFRegistration extends sql.api.UDFRegistration with Logging

Functions for registering user-defined functions. Use SparkSession.udf to access this:

spark.udf
Annotations
@Stable()
Source
UDFRegistration.scala
Since

1.3.0

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

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

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(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  11. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  14. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  15. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  16. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  17. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  18. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  19. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  21. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  23. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  28. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  39. def register(name: String, udf: UserDefinedFunction, source: String, validateParameterCount: Boolean): UserDefinedFunction
    Attributes
    protected
    Definition Classes
    UDFRegistrationUDFRegistration
  40. def register(name: String, f: UDF22[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF22 instance as user-defined function (UDF).

    Register a deterministic Java UDF22 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  41. def register(name: String, f: UDF21[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF21 instance as user-defined function (UDF).

    Register a deterministic Java UDF21 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  42. def register(name: String, f: UDF20[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF20 instance as user-defined function (UDF).

    Register a deterministic Java UDF20 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  43. def register(name: String, f: UDF19[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF19 instance as user-defined function (UDF).

    Register a deterministic Java UDF19 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  44. def register(name: String, f: UDF18[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF18 instance as user-defined function (UDF).

    Register a deterministic Java UDF18 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  45. def register(name: String, f: UDF17[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF17 instance as user-defined function (UDF).

    Register a deterministic Java UDF17 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  46. def register(name: String, f: UDF16[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF16 instance as user-defined function (UDF).

    Register a deterministic Java UDF16 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  47. def register(name: String, f: UDF15[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF15 instance as user-defined function (UDF).

    Register a deterministic Java UDF15 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  48. def register(name: String, f: UDF14[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF14 instance as user-defined function (UDF).

    Register a deterministic Java UDF14 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  49. def register(name: String, f: UDF13[_, _, _, _, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF13 instance as user-defined function (UDF).

    Register a deterministic Java UDF13 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  50. def register(name: String, f: UDF12[_, _, _, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF12 instance as user-defined function (UDF).

    Register a deterministic Java UDF12 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  51. def register(name: String, f: UDF11[_, _, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF11 instance as user-defined function (UDF).

    Register a deterministic Java UDF11 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  52. def register(name: String, f: UDF10[_, _, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF10 instance as user-defined function (UDF).

    Register a deterministic Java UDF10 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  53. def register(name: String, f: UDF9[_, _, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF9 instance as user-defined function (UDF).

    Register a deterministic Java UDF9 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  54. def register(name: String, f: UDF8[_, _, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF8 instance as user-defined function (UDF).

    Register a deterministic Java UDF8 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  55. def register(name: String, f: UDF7[_, _, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF7 instance as user-defined function (UDF).

    Register a deterministic Java UDF7 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  56. def register(name: String, f: UDF6[_, _, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF6 instance as user-defined function (UDF).

    Register a deterministic Java UDF6 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  57. def register(name: String, f: UDF5[_, _, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF5 instance as user-defined function (UDF).

    Register a deterministic Java UDF5 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  58. def register(name: String, f: UDF4[_, _, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF4 instance as user-defined function (UDF).

    Register a deterministic Java UDF4 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  59. def register(name: String, f: UDF3[_, _, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF3 instance as user-defined function (UDF).

    Register a deterministic Java UDF3 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  60. def register(name: String, f: UDF2[_, _, _], returnType: DataType): Unit

    Register a deterministic Java UDF2 instance as user-defined function (UDF).

    Register a deterministic Java UDF2 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  61. def register(name: String, f: UDF1[_, _], returnType: DataType): Unit

    Register a deterministic Java UDF1 instance as user-defined function (UDF).

    Register a deterministic Java UDF1 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  62. def register(name: String, f: UDF0[_], returnType: DataType): Unit

    Register a deterministic Java UDF0 instance as user-defined function (UDF).

    Register a deterministic Java UDF0 instance as user-defined function (UDF).

    Definition Classes
    UDFRegistration
    Since

    2.3.0

  63. def register[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, A22) => 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], arg11: scala.reflect.api.JavaUniverse.TypeTag[A11], arg12: scala.reflect.api.JavaUniverse.TypeTag[A12], arg13: scala.reflect.api.JavaUniverse.TypeTag[A13], arg14: scala.reflect.api.JavaUniverse.TypeTag[A14], arg15: scala.reflect.api.JavaUniverse.TypeTag[A15], arg16: scala.reflect.api.JavaUniverse.TypeTag[A16], arg17: scala.reflect.api.JavaUniverse.TypeTag[A17], arg18: scala.reflect.api.JavaUniverse.TypeTag[A18], arg19: scala.reflect.api.JavaUniverse.TypeTag[A19], arg20: scala.reflect.api.JavaUniverse.TypeTag[A20], arg21: scala.reflect.api.JavaUniverse.TypeTag[A21], arg22: scala.reflect.api.JavaUniverse.TypeTag[A22]): UserDefinedFunction

    Registers a deterministic Scala closure of 22 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 22 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  64. def register[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21) => 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], arg11: scala.reflect.api.JavaUniverse.TypeTag[A11], arg12: scala.reflect.api.JavaUniverse.TypeTag[A12], arg13: scala.reflect.api.JavaUniverse.TypeTag[A13], arg14: scala.reflect.api.JavaUniverse.TypeTag[A14], arg15: scala.reflect.api.JavaUniverse.TypeTag[A15], arg16: scala.reflect.api.JavaUniverse.TypeTag[A16], arg17: scala.reflect.api.JavaUniverse.TypeTag[A17], arg18: scala.reflect.api.JavaUniverse.TypeTag[A18], arg19: scala.reflect.api.JavaUniverse.TypeTag[A19], arg20: scala.reflect.api.JavaUniverse.TypeTag[A20], arg21: scala.reflect.api.JavaUniverse.TypeTag[A21]): UserDefinedFunction

    Registers a deterministic Scala closure of 21 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 21 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  65. def register[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20) => 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], arg11: scala.reflect.api.JavaUniverse.TypeTag[A11], arg12: scala.reflect.api.JavaUniverse.TypeTag[A12], arg13: scala.reflect.api.JavaUniverse.TypeTag[A13], arg14: scala.reflect.api.JavaUniverse.TypeTag[A14], arg15: scala.reflect.api.JavaUniverse.TypeTag[A15], arg16: scala.reflect.api.JavaUniverse.TypeTag[A16], arg17: scala.reflect.api.JavaUniverse.TypeTag[A17], arg18: scala.reflect.api.JavaUniverse.TypeTag[A18], arg19: scala.reflect.api.JavaUniverse.TypeTag[A19], arg20: scala.reflect.api.JavaUniverse.TypeTag[A20]): UserDefinedFunction

    Registers a deterministic Scala closure of 20 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 20 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  66. def register[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19) => 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], arg11: scala.reflect.api.JavaUniverse.TypeTag[A11], arg12: scala.reflect.api.JavaUniverse.TypeTag[A12], arg13: scala.reflect.api.JavaUniverse.TypeTag[A13], arg14: scala.reflect.api.JavaUniverse.TypeTag[A14], arg15: scala.reflect.api.JavaUniverse.TypeTag[A15], arg16: scala.reflect.api.JavaUniverse.TypeTag[A16], arg17: scala.reflect.api.JavaUniverse.TypeTag[A17], arg18: scala.reflect.api.JavaUniverse.TypeTag[A18], arg19: scala.reflect.api.JavaUniverse.TypeTag[A19]): UserDefinedFunction

    Registers a deterministic Scala closure of 19 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 19 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  67. def register[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18) => 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], arg11: scala.reflect.api.JavaUniverse.TypeTag[A11], arg12: scala.reflect.api.JavaUniverse.TypeTag[A12], arg13: scala.reflect.api.JavaUniverse.TypeTag[A13], arg14: scala.reflect.api.JavaUniverse.TypeTag[A14], arg15: scala.reflect.api.JavaUniverse.TypeTag[A15], arg16: scala.reflect.api.JavaUniverse.TypeTag[A16], arg17: scala.reflect.api.JavaUniverse.TypeTag[A17], arg18: scala.reflect.api.JavaUniverse.TypeTag[A18]): UserDefinedFunction

    Registers a deterministic Scala closure of 18 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 18 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  68. def register[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17) => 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], arg11: scala.reflect.api.JavaUniverse.TypeTag[A11], arg12: scala.reflect.api.JavaUniverse.TypeTag[A12], arg13: scala.reflect.api.JavaUniverse.TypeTag[A13], arg14: scala.reflect.api.JavaUniverse.TypeTag[A14], arg15: scala.reflect.api.JavaUniverse.TypeTag[A15], arg16: scala.reflect.api.JavaUniverse.TypeTag[A16], arg17: scala.reflect.api.JavaUniverse.TypeTag[A17]): UserDefinedFunction

    Registers a deterministic Scala closure of 17 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 17 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  69. def register[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16) => 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], arg11: scala.reflect.api.JavaUniverse.TypeTag[A11], arg12: scala.reflect.api.JavaUniverse.TypeTag[A12], arg13: scala.reflect.api.JavaUniverse.TypeTag[A13], arg14: scala.reflect.api.JavaUniverse.TypeTag[A14], arg15: scala.reflect.api.JavaUniverse.TypeTag[A15], arg16: scala.reflect.api.JavaUniverse.TypeTag[A16]): UserDefinedFunction

    Registers a deterministic Scala closure of 16 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 16 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  70. def register[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15) => 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], arg11: scala.reflect.api.JavaUniverse.TypeTag[A11], arg12: scala.reflect.api.JavaUniverse.TypeTag[A12], arg13: scala.reflect.api.JavaUniverse.TypeTag[A13], arg14: scala.reflect.api.JavaUniverse.TypeTag[A14], arg15: scala.reflect.api.JavaUniverse.TypeTag[A15]): UserDefinedFunction

    Registers a deterministic Scala closure of 15 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 15 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  71. def register[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14) => 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], arg11: scala.reflect.api.JavaUniverse.TypeTag[A11], arg12: scala.reflect.api.JavaUniverse.TypeTag[A12], arg13: scala.reflect.api.JavaUniverse.TypeTag[A13], arg14: scala.reflect.api.JavaUniverse.TypeTag[A14]): UserDefinedFunction

    Registers a deterministic Scala closure of 14 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 14 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  72. def register[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13) => 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], arg11: scala.reflect.api.JavaUniverse.TypeTag[A11], arg12: scala.reflect.api.JavaUniverse.TypeTag[A12], arg13: scala.reflect.api.JavaUniverse.TypeTag[A13]): UserDefinedFunction

    Registers a deterministic Scala closure of 13 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 13 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  73. def register[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12) => 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], arg11: scala.reflect.api.JavaUniverse.TypeTag[A11], arg12: scala.reflect.api.JavaUniverse.TypeTag[A12]): UserDefinedFunction

    Registers a deterministic Scala closure of 12 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 12 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  74. def register[RT, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11](name: String, func: (A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11) => 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], arg11: scala.reflect.api.JavaUniverse.TypeTag[A11]): UserDefinedFunction

    Registers a deterministic Scala closure of 11 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 11 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  75. def register[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 deterministic Scala closure of 10 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 10 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  76. def register[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 deterministic Scala closure of 9 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 9 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  77. def register[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 deterministic Scala closure of 8 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 8 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  78. def register[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 deterministic Scala closure of 7 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 7 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  79. def register[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 deterministic Scala closure of 6 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 6 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  80. def register[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 deterministic Scala closure of 5 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 5 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  81. def register[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 deterministic Scala closure of 4 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 4 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  82. def register[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 deterministic Scala closure of 3 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 3 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  83. def register[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 deterministic Scala closure of 2 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 2 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  84. def register[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 deterministic Scala closure of 1 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 1 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  85. def register[RT](name: String, func: () => RT)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[RT]): UserDefinedFunction

    Registers a deterministic Scala closure of 0 arguments as user-defined function (UDF).

    Registers a deterministic Scala closure of 0 arguments as user-defined function (UDF).

    RT

    return type of UDF.

    Definition Classes
    UDFRegistration
    Since

    1.3.0

  86. def register(name: String, udf: UserDefinedFunction): UserDefinedFunction

    Registers a user-defined function (UDF), for a UDF that's already defined using the Dataset API (i.e.

    Registers a user-defined function (UDF), for a UDF that's already defined using the Dataset API (i.e. of type UserDefinedFunction). To change a UDF to nondeterministic, call the API UserDefinedFunction.asNondeterministic(). To change a UDF to nonNullable, call the API UserDefinedFunction.asNonNullable().

    Example:

    val foo = udf(() => Math.random())
    spark.udf.register("random", foo.asNondeterministic())
    
    val bar = udf(() => "bar")
    spark.udf.register("stringLit", bar.asNonNullable())
    name

    the name of the UDF.

    udf

    the UDF needs to be registered.

    returns

    the registered UDF.

    Definition Classes
    UDFRegistration
    Since

    2.2.0

  87. def registerPython(name: String, udf: UserDefinedPythonFunction): Unit
    Attributes
    protected[sql]
  88. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  89. def toString(): String
    Definition Classes
    AnyRef → Any
  90. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  91. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  92. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  93. def withLogContext(context: HashMap[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def register(name: String, udaf: UserDefinedAggregateFunction): UserDefinedAggregateFunction

    Registers a user-defined aggregate function (UDAF).

    Registers a user-defined aggregate function (UDAF).

    name

    the name of the UDAF.

    udaf

    the UDAF needs to be registered.

    returns

    the registered UDAF.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) Aggregator[IN, BUF, OUT] should now be registered as a UDF via the functions.udaf(agg) method.

    Since

    1.5.0

Inherited from Logging

Inherited from api.UDFRegistration

Inherited from AnyRef

Inherited from Any

Ungrouped