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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.DDLDesc
      extended by 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

Constructor Summary
AlterTableSimpleDesc()
           
AlterTableSimpleDesc(String dbName, String tableName, Map<String,String> partSpec, AlterTableDesc.AlterTableTypes type)
           
 
Method Summary
 String getDbName()
           
 LinkedHashMap<String,String> getPartSpec()
           
 String getTableName()
           
 AlterTableDesc.AlterTableTypes getType()
           
 void setDbName(String dbName)
           
 void setPartSpec(LinkedHashMap<String,String> partSpec)
           
 void setTableName(String tableName)
           
 void setType(AlterTableDesc.AlterTableTypes type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlterTableSimpleDesc

public AlterTableSimpleDesc()

AlterTableSimpleDesc

public AlterTableSimpleDesc(String dbName,
                            String tableName,
                            Map<String,String> partSpec,
                            AlterTableDesc.AlterTableTypes type)
Parameters:
dbName - database that contains the table / partition
tableName - table containing the partition
partSpec - partition specification. Null if touching a table.
Method Detail

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