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
- Alphabetic
- By Inheritance
- TableDependency
- Dependency
- Record
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(o: AnyRef): Boolean
- Definition Classes
- TableDependency → Record → AnyRef → Any
- Annotations
- @Override()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- TableDependency → Record → AnyRef → Any
- Annotations
- @Override()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def nameParts(): Array[String]
Returns a defensive copy of the underlying parts array.
Returns a defensive copy of the underlying parts array.
- Annotations
- @Override()
- def nameParts(): Array[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- TableDependency → Record → AnyRef → Any
- Annotations
- @Override()
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)