Packages

c

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
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: 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clear(): Unit

    Clears all the global temporary views.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. 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.

  8. val database: String
  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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def get(name: String): Option[LogicalPlan]

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

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def listViewNames(pattern: String): Seq[String]

    Lists the names of all global temporary views.

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def remove(name: String): Boolean

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

  21. 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.

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def update(name: String, viewDefinition: LogicalPlan): Boolean

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped