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
  • Constructor Details

  • Method Details

    • catalog

      public String catalog()
    • description

      public String description()
    • locationUri

      public String locationUri()
    • name

      public String name()
    • toString

      public String toString()
      Overrides:
      toString in class Object