Packages

class DefaultValue extends ColumnExpressionBase

A class that represents default value expressions.

Connectors can define default values using either a SQL string (Spark SQL dialect) or a more portable connector expression, whose semantics follow the ANSI SQL standard.

If both the SQL string and the expression are provided, Spark first attempts to convert the given expression to its internal representation. If the expression cannot be converted, and a SQL string is provided, Spark will fall back to parsing the SQL string.

Annotations
@Evolving()
Source
DefaultValue.java
Since

4.1.0

Linear Supertypes
ColumnExpressionBase, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultValue
  2. ColumnExpressionBase
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefaultValue(sql: String, expr: Expression)
  2. new DefaultValue(expr: Expression)
  3. new DefaultValue(sql: String)

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(other: AnyRef): Boolean
    Definition Classes
    ColumnExpressionBase → AnyRef → Any
    Annotations
    @Override()
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. final def getExpression(): Expression

    Returns the connector expression, if provided.

    Returns the connector expression, if provided.

    Definition Classes
    ColumnExpressionBase
    Annotations
    @Nullable()
  10. final def getSql(): String

    Returns the SQL representation, if provided.

    Returns the SQL representation, if provided.

    Definition Classes
    ColumnExpressionBase
    Annotations
    @Nullable()
  11. def hashCode(): Int
    Definition Classes
    ColumnExpressionBase → AnyRef → Any
    Annotations
    @Override()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    DefaultValue → AnyRef → Any
    Annotations
    @Override()
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. 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 ColumnExpressionBase

Inherited from AnyRef

Inherited from Any

Ungrouped