org.apache.hcatalog.api
Class HCatCreateDBDesc

Object
  extended by HCatCreateDBDesc

public class HCatCreateDBDesc
extends Object

The Class HCatCreateDBDesc for defining database attributes.


Nested Class Summary
static class HCatCreateDBDesc.Builder
           
 
Method Summary
static HCatCreateDBDesc.Builder create(String dbName)
          Creates the builder for defining attributes.
 String getComments()
          Gets the comments.
 String getDatabaseName()
          Gets the database name.
 Map<String,String> getDatabaseProperties()
          Gets the database properties.
 boolean getIfNotExists()
          Gets the if not exists.
 String getLocation()
          Gets the location.
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDatabaseProperties

public Map<String,String> getDatabaseProperties()
Gets the database properties.

Returns:
the database properties

getIfNotExists

public boolean getIfNotExists()
Gets the if not exists.

Returns:
the if not exists

getComments

public String getComments()
Gets the comments.

Returns:
the comments

getLocation

public String getLocation()
Gets the location.

Returns:
the location

getDatabaseName

public String getDatabaseName()
Gets the database name.

Returns:
the database name

toString

public String toString()
Overrides:
toString in class Object

create

public static HCatCreateDBDesc.Builder create(String dbName)
Creates the builder for defining attributes.

Parameters:
dbName - the db name
Returns:
the builder