Class

org.apache.spark.sql.catalyst.catalog

GlobalTempViewManager

Related Doc: package catalog

Permalink

class GlobalTempViewManager extends AnyRef

A thread-safe manager for global temporary views, providing atomic operations to manage them, e.g. create, update, remove, etc.

Note that, the view name is always case-sensitive here, callers are responsible to format the view name w.r.t. case-sensitive config.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GlobalTempViewManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GlobalTempViewManager(database: String)

    Permalink

    database

    The system preserved virtual database that keeps all the global temporary views.

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 clear(): Unit

    Permalink

    Clears all the global temporary views.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def create(name: String, viewDefinition: LogicalPlan, overrideIfExists: Boolean): Unit

    Permalink

    Creates a global temp view, or issue an exception if the view already exists and overrideIfExists is false.

  8. val database: String

    Permalink

    The system preserved virtual database that keeps all the global temporary views.

  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def get(name: String): Option[LogicalPlan]

    Permalink

    Returns the global view definition which matches the given name, or None if not found.

  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  16. def listViewNames(pattern: String): Seq[String]

    Permalink

    Lists the names of all global temporary views.

  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. def remove(name: String): Boolean

    Permalink

    Removes the global temp view if it exists, returns true if removed, false otherwise.

  21. def rename(oldName: String, newName: String): Boolean

    Permalink

    Renames the global temp view if the source view exists and the destination view not exists, or issue an exception if the source view exists but the destination view already exists.

    Renames the global temp view if the source view exists and the destination view not exists, or issue an exception if the source view exists but the destination view already exists. Returns true if renamed, false otherwise.

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. def update(name: String, viewDefinition: LogicalPlan): Boolean

    Permalink

    Updates the global temp view if it exists, returns true if updated, false otherwise.

  25. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped