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

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

public class DDLWork
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
DDLWork()
           
DDLWork(AddPartitionDesc addPartitionDesc)
           
DDLWork(alterTableDesc alterTblDesc)
           
DDLWork(createTableDesc createTblDesc)
           
DDLWork(descTableDesc descTblDesc)
           
DDLWork(dropTableDesc dropTblDesc)
           
DDLWork(MsckDesc checkDesc)
           
DDLWork(showPartitionsDesc showPartsDesc)
           
DDLWork(showTablesDesc showTblsDesc)
           
 
Method Summary
 AddPartitionDesc getAddPartitionDesc()
           
 alterTableDesc getAlterTblDesc()
           
 createTableDesc getCreateTblDesc()
           
 descTableDesc getDescTblDesc()
           
 dropTableDesc getDropTblDesc()
           
 MsckDesc getMsckDesc()
           
 showPartitionsDesc getShowPartsDesc()
           
 showTablesDesc getShowTblsDesc()
           
 void setAddPartitionDesc(AddPartitionDesc addPartitionDesc)
           
 void setAlterTblDesc(alterTableDesc alterTblDesc)
           
 void setCreateTblDesc(createTableDesc createTblDesc)
           
 void setDescTblDesc(descTableDesc descTblDesc)
           
 void setDropTblDesc(dropTableDesc dropTblDesc)
           
 void setMsckDesc(MsckDesc msckDesc)
           
 void setShowPartsDesc(showPartitionsDesc showPartsDesc)
           
 void setShowTblsDesc(showTablesDesc showTblsDesc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLWork

public DDLWork()

DDLWork

public DDLWork(alterTableDesc alterTblDesc)
Parameters:
alterTblDesc - alter table descriptor

DDLWork

public DDLWork(createTableDesc createTblDesc)
Parameters:
createTblDesc - create table descriptor

DDLWork

public DDLWork(dropTableDesc dropTblDesc)
Parameters:
dropTblDesc - drop table descriptor

DDLWork

public DDLWork(descTableDesc descTblDesc)
Parameters:
descTblDesc -

DDLWork

public DDLWork(showTablesDesc showTblsDesc)
Parameters:
showTblsDesc -

DDLWork

public DDLWork(showPartitionsDesc showPartsDesc)
Parameters:
showPartsDesc -

DDLWork

public DDLWork(AddPartitionDesc addPartitionDesc)
Parameters:
addPartitionDesc - information about the partitions we want to add.

DDLWork

public DDLWork(MsckDesc checkDesc)
Method Detail

getCreateTblDesc

public createTableDesc getCreateTblDesc()
Returns:
the createTblDesc

setCreateTblDesc

public void setCreateTblDesc(createTableDesc createTblDesc)
Parameters:
createTblDesc - the createTblDesc to set

getDropTblDesc

public dropTableDesc getDropTblDesc()
Returns:
the dropTblDesc

setDropTblDesc

public void setDropTblDesc(dropTableDesc dropTblDesc)
Parameters:
dropTblDesc - the dropTblDesc to set

getAlterTblDesc

public alterTableDesc getAlterTblDesc()
Returns:
the alterTblDesc

setAlterTblDesc

public void setAlterTblDesc(alterTableDesc alterTblDesc)
Parameters:
alterTblDesc - the alterTblDesc to set

getShowTblsDesc

public showTablesDesc getShowTblsDesc()
Returns:
the showTblsDesc

setShowTblsDesc

public void setShowTblsDesc(showTablesDesc showTblsDesc)
Parameters:
showTblsDesc - the showTblsDesc to set

getShowPartsDesc

public showPartitionsDesc getShowPartsDesc()
Returns:
the showPartsDesc

setShowPartsDesc

public void setShowPartsDesc(showPartitionsDesc showPartsDesc)
Parameters:
showPartsDesc - the showPartsDesc to set

getDescTblDesc

public descTableDesc getDescTblDesc()
Returns:
the descTblDesc

setDescTblDesc

public void setDescTblDesc(descTableDesc descTblDesc)
Parameters:
descTblDesc - the descTblDesc to set

getAddPartitionDesc

public AddPartitionDesc getAddPartitionDesc()
Returns:
information about the partitions we want to add.

setAddPartitionDesc

public void setAddPartitionDesc(AddPartitionDesc addPartitionDesc)
Parameters:
addPartitionDesc - information about the partitions we want to add.

getMsckDesc

public MsckDesc getMsckDesc()
Returns:
Metastore check description

setMsckDesc

public void setMsckDesc(MsckDesc msckDesc)
Parameters:
msckDesc - metastore check description


Copyright © 2009 The Apache Software Foundation