org.apache.hadoop.hive.ql.plan
Class CreateDatabaseDesc

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.DDLDesc
      extended by org.apache.hadoop.hive.ql.plan.CreateDatabaseDesc
All Implemented Interfaces:
Serializable

public class CreateDatabaseDesc
extends DDLDesc
implements Serializable

CreateDatabaseDesc.

See Also:
Serialized Form

Constructor Summary
CreateDatabaseDesc()
          For serialization only.
CreateDatabaseDesc(String databaseName, boolean ifNotExists)
           
CreateDatabaseDesc(String databaseName, String comment, String locationUri, boolean ifNotExists)
           
 
Method Summary
 String getComment()
           
 Map<String,String> getDatabaseProperties()
           
 boolean getIfNotExists()
           
 String getLocationUri()
           
 String getName()
           
 void setComment(String comment)
           
 void setDatabaseProperties(Map<String,String> dbProps)
           
 void setIfNotExists(boolean ifNotExists)
           
 void setLocationUri(String locationUri)
           
 void setName(String databaseName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateDatabaseDesc

public CreateDatabaseDesc()
For serialization only.


CreateDatabaseDesc

public CreateDatabaseDesc(String databaseName,
                          String comment,
                          String locationUri,
                          boolean ifNotExists)

CreateDatabaseDesc

public CreateDatabaseDesc(String databaseName,
                          boolean ifNotExists)
Method Detail

getIfNotExists

public boolean getIfNotExists()

setIfNotExists

public void setIfNotExists(boolean ifNotExists)

getDatabaseProperties

public Map<String,String> getDatabaseProperties()

setDatabaseProperties

public void setDatabaseProperties(Map<String,String> dbProps)

getName

public String getName()

setName

public void setName(String databaseName)

getComment

public String getComment()

setComment

public void setComment(String comment)

getLocationUri

public String getLocationUri()

setLocationUri

public void setLocationUri(String locationUri)


Copyright © 2014 The Apache Software Foundation. All rights reserved.