Packages

final class TableDependency extends Record with Dependency

A table dependency of a SQL object.

The dependent table is identified by its structural multi-part name. nameParts arity matches the catalog's namespace depth plus one for the table name -- for a catalog with single-level namespaces the parts are [catalog, schema, table]; for a catalog with multi-level namespaces (e.g. Iceberg with db1.db2) the parts are [catalog, db1, db2, ..., table]; for v1 sources resolved through the session catalog, producers should normalize to [spark_catalog, db, table] so consumers see a stable arity per source kind. The structural form preserves arity and is unambiguous against quoted identifiers containing a literal .; consumers that need a flat string should join the parts themselves with a quoting scheme appropriate to their wire format.

Records' auto-generated equals/hashCode on array fields fall through to Object#equals (reference equality), so this record overrides them to use Object[]) / Arrays#hashCode(Object[]) on nameParts and give value-based semantics. The defensive-copy accessor override also clones on read so callers cannot mutate the record's internal array.

Annotations
@Evolving()
Source
TableDependency.java
Since

4.2.0

Linear Supertypes
Dependency, Record, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TableDependency
  2. Dependency
  3. Record
  4. AnyRef
  5. 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. 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(o: AnyRef): Boolean
    Definition Classes
    TableDependency → Record → AnyRef → Any
    Annotations
    @Override()
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    TableDependency → Record → AnyRef → Any
    Annotations
    @Override()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def nameParts(): Array[String]

    Returns a defensive copy of the underlying parts array.

    Returns a defensive copy of the underlying parts array.

    Annotations
    @Override()
  12. def nameParts(): Array[String]
  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
    TableDependency → Record → 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 Dependency

Inherited from Record

Inherited from AnyRef

Inherited from Any

Ungrouped