Trait

org.apache.spark.sql.catalyst.analysis

OverrideCatalog

Related Doc: package analysis

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val conf: CatalystConf

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

    Permalink
    Definition Classes
    Catalog

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

    Permalink

    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
  6. def clone(): AnyRef

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

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

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

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

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

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

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

    Permalink

    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
  14. def hashCode(): Int

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

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

    Permalink
  21. def processTableIdentifier(tableIdentifier: Seq[String]): Seq[String]

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

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

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

    Permalink
    Definition Classes
    OverrideCatalogCatalog
  25. def toString(): String

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

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

    Permalink
    Definition Classes
    OverrideCatalogCatalog
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Catalog

Inherited from AnyRef

Inherited from Any

Ungrouped