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

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

public class AlterDatabaseDesc
extends DDLDesc
implements Serializable

AlterDatabaseDesc.

See Also:
Serialized Form

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

Constructor Detail

AlterDatabaseDesc

public AlterDatabaseDesc()
For serialization only.


AlterDatabaseDesc

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

AlterDatabaseDesc

public AlterDatabaseDesc(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)

getDatabaseName

public String getDatabaseName()

setDatabaseName

public void setDatabaseName(String databaseName)

getComment

public String getComment()

setComment

public void setComment(String comment)

getLocationUri

public String getLocationUri()

setLocationUri

public void setLocationUri(String locationUri)


Copyright © 2013 The Apache Software Foundation