org.apache.hadoop.hive.ql.plan
Class AlterTableSimpleDesc
java.lang.Object
org.apache.hadoop.hive.ql.plan.DDLDesc
org.apache.hadoop.hive.ql.plan.AlterTableSimpleDesc
- All Implemented Interfaces:
- Serializable
public class AlterTableSimpleDesc
- extends DDLDesc
Contains information needed to modify a partition or a table
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlterTableSimpleDesc
public AlterTableSimpleDesc()
AlterTableSimpleDesc
public AlterTableSimpleDesc(String dbName,
String tableName,
Map<String,String> partSpec,
AlterTableDesc.AlterTableTypes type)
- Parameters:
dbName
- database that contains the table / partitiontableName
- table containing the partitionpartSpec
- partition specification. Null if touching a table.
getTableName
public String getTableName()
setTableName
public void setTableName(String tableName)
getDbName
public String getDbName()
setDbName
public void setDbName(String dbName)
getType
public AlterTableDesc.AlterTableTypes getType()
setType
public void setType(AlterTableDesc.AlterTableTypes type)
getPartSpec
public LinkedHashMap<String,String> getPartSpec()
setPartSpec
public void setPartSpec(LinkedHashMap<String,String> partSpec)
Copyright © 2013 The Apache Software Foundation