Table

org.apache.spark.sql.catalog.Table
case class Table(name: String, catalog: String, namespace: Array[String], description: String, tableType: String, isTemporary: Boolean)

A table or view in the catalog, as returned by Catalog.getTable / Catalog.listTables.

Value parameters

catalog

name of the catalog the table belongs to (may be null on older servers).

description

description of the table.

isTemporary

whether the table is a temporary view.

name

name of the table.

namespace

the namespace (database) the table belongs to; empty for temporary views.

tableType

type of the table (e.g. MANAGED, EXTERNAL, VIEW, TEMPORARY).

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def database: String

The database (single-level namespace) the table belongs to, or null if not applicable.

The database (single-level namespace) the table belongs to, or null if not applicable.

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product