Package org.apache.spark.sql.catalog
Class Database
Object
org.apache.spark.sql.catalog.Database
- All Implemented Interfaces:
org.apache.spark.sql.catalyst.DefinedByConstructorParams
public class Database
extends Object
implements org.apache.spark.sql.catalyst.DefinedByConstructorParams
A database in Spark, as returned by the
listDatabases
method defined in Catalog
.
param: name name of the database. param: catalog name of the catalog that the table belongs to. param: description description of the database. param: locationUri path (in the form of a uri) to data files.
- Since:
- 2.0.0