org.apache.spark.sql.catalyst.analysis

OverrideCatalog

trait OverrideCatalog extends Catalog

A trait that can be mixed in with other Catalogs allowing specific tables to be overridden with new logical plans. This can be used to bind query result to virtual tables, or replace tables with in-memory cached versions. Note that the set of overrides is stored in memory and thus lost when the JVM exits.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OverrideCatalog
  2. Catalog
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val conf: CatalystConf

    Definition Classes
    Catalog
  2. abstract def refreshTable(tableIdent: TableIdentifier): Unit

    Definition Classes
    Catalog

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def checkTableIdentifier(tableIdentifier: Seq[String]): Unit

    It is not allowed to specifiy database name for tables stored in SimpleCatalog.

    It is not allowed to specifiy database name for tables stored in SimpleCatalog. We use this method to check it.

    Attributes
    protected
    Definition Classes
    Catalog
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def getDBTable(tableIdent: Seq[String]): (Option[String], String)

    Attributes
    protected
    Definition Classes
    Catalog
  14. def getDbTableName(tableIdent: Seq[String]): String

    Attributes
    protected
    Definition Classes
    Catalog
  15. def getTables(databaseName: Option[String]): Seq[(String, Boolean)]

    Returns tuples of (tableName, isTemporary) for all tables in the given database.

    Returns tuples of (tableName, isTemporary) for all tables in the given database. isTemporary is a Boolean value indicates if a table is a temporary or not.

    Definition Classes
    OverrideCatalogCatalog
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def lookupRelation(tableIdentifier: Seq[String], alias: Option[String] = None): LogicalPlan

    Definition Classes
    OverrideCatalogCatalog
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. val overrides: HashMap[(Option[String], String), LogicalPlan]

  23. def processTableIdentifier(tableIdentifier: Seq[String]): Seq[String]

    Attributes
    protected
    Definition Classes
    Catalog
  24. def registerTable(tableIdentifier: Seq[String], plan: LogicalPlan): Unit

    Definition Classes
    OverrideCatalogCatalog
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def tableExists(tableIdentifier: Seq[String]): Boolean

    Definition Classes
    OverrideCatalogCatalog
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. def unregisterAllTables(): Unit

    Definition Classes
    OverrideCatalogCatalog
  29. def unregisterTable(tableIdentifier: Seq[String]): Unit

    Definition Classes
    OverrideCatalogCatalog
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Catalog

Inherited from AnyRef

Inherited from Any

Ungrouped