public class AlterDatabaseDesc extends DDLDesc implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AlterDatabaseDesc.ALTER_DB_TYPES |
Constructor and Description |
---|
AlterDatabaseDesc()
For serialization only.
|
AlterDatabaseDesc(String databaseName,
Map<String,String> dbProps) |
AlterDatabaseDesc(String databaseName,
PrincipalDesc ownerPrincipal) |
Modifier and Type | Method and Description |
---|---|
AlterDatabaseDesc.ALTER_DB_TYPES |
getAlterType() |
String |
getDatabaseName() |
Map<String,String> |
getDatabaseProperties() |
PrincipalDesc |
getOwnerPrincipal() |
void |
setAlterType(AlterDatabaseDesc.ALTER_DB_TYPES alterType) |
void |
setDatabaseName(String databaseName) |
void |
setDatabaseProperties(Map<String,String> dbProps) |
void |
setOwnerPrincipal(PrincipalDesc ownerPrincipal) |
public AlterDatabaseDesc()
public AlterDatabaseDesc(String databaseName, PrincipalDesc ownerPrincipal)
public String getDatabaseName()
public void setDatabaseName(String databaseName)
public PrincipalDesc getOwnerPrincipal()
public void setOwnerPrincipal(PrincipalDesc ownerPrincipal)
public AlterDatabaseDesc.ALTER_DB_TYPES getAlterType()
public void setAlterType(AlterDatabaseDesc.ALTER_DB_TYPES alterType)
Copyright © 2017 The Apache Software Foundation. All rights reserved.