Packages

object CreateUserDefinedFunctionCommand

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CreateUserDefinedFunctionCommand
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. def apply(name: FunctionIdentifier, inputParamText: Option[String], returnTypeText: String, exprText: Option[String], queryText: Option[String], comment: Option[String], isDeterministic: Option[Boolean], containsSQL: Option[Boolean], language: RoutineLanguage, isTableFunc: Boolean, isTemp: Boolean, ignoreIfExists: Boolean, replace: Boolean): CreateUserDefinedFunctionCommand

    This factory methods serves as a central place to verify required inputs and returns the CREATE command for the parsed user defined function.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def checkDefaultsTrailing(param: StructType, name: FunctionIdentifier): Unit

    Check whether the function parameters contain non trailing defaults.

    Check whether the function parameters contain non trailing defaults. For languages that support default values for input parameters, this check ensures once a default value is given to a parameter, all subsequent parameters must also have a default value. It throws error if otherwise.

    Perform this check on function input parameters while registering the function to fail early. This check does not need to run the function itself.

  7. def checkParameterNameDuplication(param: StructType, conf: SQLConf, name: FunctionIdentifier): Unit

    Check whether the function parameters contain duplicated column names.

    Check whether the function parameters contain duplicated column names. It takes the function input parameter struct as input and verifies that there is no duplicates in the parameter column names. If any duplicates are found, it throws an exception with helpful information for users to fix the wrong function parameters.

    Perform this check while registering the function to fail early. This check does not need to run the function itself.

  8. def checkParameterNotNull(param: StructType, input: String): Unit

    Check whether the function input or return columns (for TABLE Return type) have NOT NULL specified.

    Check whether the function input or return columns (for TABLE Return type) have NOT NULL specified. Throw exception if NOT NULL is found.

    Perform this check on function input and return parameters while registering the function to fail early. This check does not need to run the function itself.

  9. def checkReturnsColumnDuplication(columns: StructType, conf: SQLConf, name: FunctionIdentifier): Unit

    Check whether the function has duplicate column names in the RETURNS clause.

  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. def sqlConfigsToProps(conf: SQLConf): Map[String, String]

    Convert SQL configs to properties by prefixing all configs with a key.

    Convert SQL configs to properties by prefixing all configs with a key. When converting a function to org.apache.spark.sql.catalyst.catalog.CatalogFunction or org.apache.spark.sql.catalyst.expressions.ExpressionInfo, all SQL configs and other function properties (such as the function parameters and the function return type) are saved together in a property map.

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped