org.apache.spark.sql.catalyst.catalog

GlobalTempViewManager

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GlobalTempViewManager(database: String)

    database

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

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

    Clears all the global temporary views.

  8. def clone(): AnyRef

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

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

  10. val database: String

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

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

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

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

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

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

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

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

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

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

    Lists the names of all global temporary views.

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

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

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

    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.

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

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped