Packages

o

org.apache.spark.sql.delta

TypeWidening

object TypeWidening

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

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 assertTableReadable(conf: SQLConf, protocol: Protocol, metadata: Metadata): Unit

    Asserts that the given table doesn't contain any unsupported type changes.

    Asserts that the given table doesn't contain any unsupported type changes. This should never happen unless a non-compliant writer applied a type change that is not part of the feature specification.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def ensureFeatureConsistentlyEnabled(protocol: Protocol, metadata: Metadata, otherProtocol: Protocol, otherMetadata: Metadata): Unit

    Checks that the type widening table property wasn't disabled or enabled between the two given states, throws an errors if it was.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def isEnabled(protocol: Protocol, metadata: Metadata): Boolean

    Returns whether Type Widening is enabled on this table version.

    Returns whether Type Widening is enabled on this table version. Checks that Type Widening is supported, which is a pre-requisite for enabling Type Widening, throws an error if not. When Type Widening is enabled, the type of existing columns or fields can be widened using ALTER TABLE CHANGE COLUMN.

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isSupported(protocol: Protocol): Boolean

    Returns whether the protocol version supports the Type Widening table feature.

  16. def isTypeChangeSupported(fromType: AtomicType, toType: AtomicType): Boolean

    Returns whether the given type change is eligible for widening.

    Returns whether the given type change is eligible for widening. This only checks atomic types. It is the responsibility of the caller to recurse into structs, maps and arrays.

  17. def isTypeChangeSupportedForSchemaEvolution(fromType: AtomicType, toType: AtomicType): Boolean

    Returns whether the given type change can be applied during schema evolution.

    Returns whether the given type change can be applied during schema evolution. Only a subset of supported type changes are considered for schema evolution.

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped