Packages

case class AnalyzerBridgeState(relationsWithResolvedMetadata: RelationsWithResolvedMetadata = new AnalyzerBridgeState.RelationsWithResolvedMetadata, catalogRelationsWithResolvedMetadata: CatalogRelationsWithResolvedMetadata = new AnalyzerBridgeState.CatalogRelationsWithResolvedMetadata, hiveRelationsWithResolvedMetadata: HiveRelationsWithResolvedMetadata = new AnalyzerBridgeState.HiveRelationsWithResolvedMetadata) extends Product with Serializable

The AnalyzerBridgeState is a state passed from legacy Analyzer to the single-pass Resolver. It is used in dual-run mode (when ANALYZER_SINGLE_PASS_RESOLVER_RELATION_BRIDGING_ENABLED is true).

relationsWithResolvedMetadata

A map from BridgedRelationId to the relations with resolved metadata. It allows us to reuse the relation metadata and avoid duplicate catalog/table lookups.

catalogRelationsWithResolvedMetadata

A map from UnresolvedCatalogRelation to the relations with resolved metadata. It allows us to reuse the relation metadata and avoid duplicate catalog/table lookups.

hiveRelationsWithResolvedMetadata

A map from HiveTableRelation to their resolved LogicalRelation counterparts. We cannot import those nodes here because of recursive dependencies, so we rely on overridden LogicalPlan.equals and LogicalPlan.hashCode. Keys are canonicalized to compensate for stats added by DetermineTableStats.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnalyzerBridgeState
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AnalyzerBridgeState(relationsWithResolvedMetadata: RelationsWithResolvedMetadata = new AnalyzerBridgeState.RelationsWithResolvedMetadata, catalogRelationsWithResolvedMetadata: CatalogRelationsWithResolvedMetadata = new AnalyzerBridgeState.CatalogRelationsWithResolvedMetadata, hiveRelationsWithResolvedMetadata: HiveRelationsWithResolvedMetadata = new AnalyzerBridgeState.HiveRelationsWithResolvedMetadata)

    relationsWithResolvedMetadata

    A map from BridgedRelationId to the relations with resolved metadata. It allows us to reuse the relation metadata and avoid duplicate catalog/table lookups.

    catalogRelationsWithResolvedMetadata

    A map from UnresolvedCatalogRelation to the relations with resolved metadata. It allows us to reuse the relation metadata and avoid duplicate catalog/table lookups.

    hiveRelationsWithResolvedMetadata

    A map from HiveTableRelation to their resolved LogicalRelation counterparts. We cannot import those nodes here because of recursive dependencies, so we rely on overridden LogicalPlan.equals and LogicalPlan.hashCode. Keys are canonicalized to compensate for stats added by DetermineTableStats.

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 addLogicalRelationForHiveRelation(hiveRelation: LogicalPlan, logicalRelation: LogicalPlan): Unit
  5. def addUnresolvedRelation(unresolvedRelation: UnresolvedRelation, relation: LogicalPlan): Unit
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val catalogRelationsWithResolvedMetadata: CatalogRelationsWithResolvedMetadata
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. def getLogicalRelationForHiveRelation(hiveRelation: LogicalPlan): Option[LogicalPlan]
  12. val hiveRelationsWithResolvedMetadata: HiveRelationsWithResolvedMetadata
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. val relationsWithResolvedMetadata: RelationsWithResolvedMetadata
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. 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 Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped