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

Field Summary
protected  Set<ReadEntity> inputs
          ReadEntitites that are passed to the hooks.
protected  Set<WriteEntity> outputs
          List of WriteEntities that are passed to the hooks.
 
Constructor Summary
DDLWork()
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs)
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs, AddPartitionDesc addPartitionDesc)
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs, alterTableDesc alterTblDesc)
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs, createTableDesc createTblDesc)
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs, createTableLikeDesc createTblLikeDesc)
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs, descFunctionDesc descFuncDesc)
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs, descTableDesc descTblDesc)
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs, dropTableDesc dropTblDesc)
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs, MsckDesc checkDesc)
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs, showFunctionsDesc showFuncsDesc)
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs, showPartitionsDesc showPartsDesc)
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs, showTablesDesc showTblsDesc)
           
DDLWork(Set<ReadEntity> inputs, Set<WriteEntity> outputs, showTableStatusDesc showTblStatusDesc)
           
 
Method Summary
 AddPartitionDesc getAddPartitionDesc()
           
 alterTableDesc getAlterTblDesc()
           
 createTableDesc getCreateTblDesc()
           
 createTableLikeDesc getCreateTblLikeDesc()
           
 descFunctionDesc getDescFunctionDesc()
           
 descTableDesc getDescTblDesc()
           
 dropTableDesc getDropTblDesc()
           
 Set<ReadEntity> getInputs()
           
 MsckDesc getMsckDesc()
           
 Set<WriteEntity> getOutputs()
           
 showFunctionsDesc getShowFuncsDesc()
           
 showPartitionsDesc getShowPartsDesc()
           
 showTablesDesc getShowTblsDesc()
           
 showTableStatusDesc getShowTblStatusDesc()
           
 void setAddPartitionDesc(AddPartitionDesc addPartitionDesc)
           
 void setAlterTblDesc(alterTableDesc alterTblDesc)
           
 void setCreateTblDesc(createTableDesc createTblDesc)
           
 void setCreateTblLikeDesc(createTableLikeDesc createTblLikeDesc)
           
 void setDescFuncDesc(descFunctionDesc descFuncDesc)
           
 void setDescTblDesc(descTableDesc descTblDesc)
           
 void setDropTblDesc(dropTableDesc dropTblDesc)
           
 void setInputs(Set<ReadEntity> inputs)
           
 void setMsckDesc(MsckDesc msckDesc)
           
 void setOutputs(Set<WriteEntity> outputs)
           
 void setShowFuncsDesc(showFunctionsDesc showFuncsDesc)
           
 void setShowPartsDesc(showPartitionsDesc showPartsDesc)
           
 void setShowTblsDesc(showTablesDesc showTblsDesc)
           
 void setShowTblStatusDesc(showTableStatusDesc showTblStatusDesc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inputs

protected Set<ReadEntity> inputs
ReadEntitites that are passed to the hooks.


outputs

protected Set<WriteEntity> outputs
List of WriteEntities that are passed to the hooks.

Constructor Detail

DDLWork

public DDLWork()

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs)

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs,
               alterTableDesc alterTblDesc)
Parameters:
alterTblDesc - alter table descriptor

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs,
               createTableDesc createTblDesc)
Parameters:
createTblDesc - create table descriptor

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs,
               createTableLikeDesc createTblLikeDesc)
Parameters:
createTblLikeDesc - create table dlike escriptor

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs,
               dropTableDesc dropTblDesc)
Parameters:
dropTblDesc - drop table descriptor

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs,
               descTableDesc descTblDesc)
Parameters:
descTblDesc -

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs,
               showTablesDesc showTblsDesc)
Parameters:
showTblsDesc -

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs,
               showFunctionsDesc showFuncsDesc)
Parameters:
showFuncsDesc -

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs,
               descFunctionDesc descFuncDesc)
Parameters:
descFuncDesc -

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs,
               showPartitionsDesc showPartsDesc)
Parameters:
showPartsDesc -

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs,
               AddPartitionDesc addPartitionDesc)
Parameters:
addPartitionDesc - information about the partitions we want to add.

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs,
               MsckDesc checkDesc)

DDLWork

public DDLWork(Set<ReadEntity> inputs,
               Set<WriteEntity> outputs,
               showTableStatusDesc showTblStatusDesc)
Parameters:
showTblStatusDesc - show table status descriptor
Method Detail

getCreateTblDesc

public createTableDesc getCreateTblDesc()
Returns:
the createTblDesc

setCreateTblDesc

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

getCreateTblLikeDesc

public createTableLikeDesc getCreateTblLikeDesc()
Returns:
the createTblDesc

setCreateTblLikeDesc

public void setCreateTblLikeDesc(createTableLikeDesc createTblLikeDesc)
Parameters:
createTblLikeDesc - 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

getShowFuncsDesc

public showFunctionsDesc getShowFuncsDesc()
Returns:
the showFuncsDesc

getDescFunctionDesc

public descFunctionDesc getDescFunctionDesc()
Returns:
the descFuncDesc

setShowFuncsDesc

public void setShowFuncsDesc(showFunctionsDesc showFuncsDesc)
Parameters:
showFuncsDesc - the showFuncsDesc to set

setDescFuncDesc

public void setDescFuncDesc(descFunctionDesc descFuncDesc)
Parameters:
descFuncDesc - the showFuncsDesc 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

getShowTblStatusDesc

public showTableStatusDesc getShowTblStatusDesc()
Returns:
show table descriptor

setShowTblStatusDesc

public void setShowTblStatusDesc(showTableStatusDesc showTblStatusDesc)
Parameters:
showTblStatusDesc - show table descriptor

getInputs

public Set<ReadEntity> getInputs()

getOutputs

public Set<WriteEntity> getOutputs()

setInputs

public void setInputs(Set<ReadEntity> inputs)

setOutputs

public void setOutputs(Set<WriteEntity> outputs)


Copyright © 2009 The Apache Software Foundation