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

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

public class DDLWork
extends Object
implements Serializable

DDLWork.

See Also:
Serialized Form

Constructor Summary
DDLWork()
           
DDLWork(AlterIndexDesc alterIndex)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, AddPartitionDesc addPartitionDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, AlterDatabaseDesc alterDbDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, AlterIndexDesc alterIdxDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, AlterTableAlterPartDesc alterPartDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, AlterTableDesc alterTblDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, AlterTableExchangePartition alterTableExchangePartition)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, AlterTablePartMergeFilesDesc mergeDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, AlterTableSimpleDesc simpleDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, CreateDatabaseDesc createDatabaseDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, CreateIndexDesc createIndex)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, CreateTableDesc createTblDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, CreateTableLikeDesc createTblLikeDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, CreateViewDesc createVwDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, DescDatabaseDesc descDatabaseDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, DescFunctionDesc descFuncDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, DescTableDesc descTblDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, DropDatabaseDesc dropDatabaseDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, DropIndexDesc dropIndexDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, DropTableDesc dropTblDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, GrantDesc grantDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, GrantRevokeRoleDDL grantRevokeRoleDDL)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, LockDatabaseDesc lockDatabaseDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, LockTableDesc lockTblDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, MsckDesc checkDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, RenamePartitionDesc renamePartitionDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, RevokeDesc revokeDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, RoleDDLDesc roleDDLDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowColumnsDesc showColumnsDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowCompactionsDesc showCompactionsDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowCreateTableDesc showCreateTblDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowDatabasesDesc showDatabasesDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowFunctionsDesc showFuncsDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowGrantDesc showGrant)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowIndexesDesc showIndexesDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowLocksDesc showLocksDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowPartitionsDesc showPartsDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowTablesDesc showTblsDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowTableStatusDesc showTblStatusDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowTblPropertiesDesc showTblPropertiesDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, ShowTxnsDesc showTxnsDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, SwitchDatabaseDesc switchDatabaseDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, TruncateTableDesc truncateTblDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, UnlockDatabaseDesc unlockDatabaseDesc)
           
DDLWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, UnlockTableDesc unlockTblDesc)
           
 
Method Summary
 AddPartitionDesc getAddPartitionDesc()
           
 AlterDatabaseDesc getAlterDatabaseDesc()
           
 AlterIndexDesc getAlterIndexDesc()
           
 AlterTableAlterPartDesc getAlterTableAlterPartDesc()
           
 AlterTableExchangePartition getAlterTableExchangePartition()
           
 AlterTableDesc getAlterTblDesc()
           
 AlterTableSimpleDesc getAlterTblSimpleDesc()
           
 CreateDatabaseDesc getCreateDatabaseDesc()
           
 CreateIndexDesc getCreateIndexDesc()
           
 CreateTableDesc getCreateTblDesc()
           
 CreateTableLikeDesc getCreateTblLikeDesc()
           
 CreateViewDesc getCreateViewDesc()
           
 CreateViewDesc getCreateVwDesc()
           
 DescDatabaseDesc getDescDatabaseDesc()
           
 DescFunctionDesc getDescFunctionDesc()
           
 DescTableDesc getDescTblDesc()
           
 DropDatabaseDesc getDropDatabaseDesc()
           
 DropIndexDesc getDropIdxDesc()
           
 DropTableDesc getDropTblDesc()
           
 GrantDesc getGrantDesc()
           
 GrantRevokeRoleDDL getGrantRevokeRoleDDL()
           
 HashSet<ReadEntity> getInputs()
           
 LockDatabaseDesc getLockDatabaseDesc()
           
 LockTableDesc getLockTblDesc()
           
 AlterTablePartMergeFilesDesc getMergeFilesDesc()
           
 MsckDesc getMsckDesc()
           
 boolean getNeedLock()
           
 HashSet<WriteEntity> getOutputs()
           
 RenamePartitionDesc getRenamePartitionDesc()
           
 RevokeDesc getRevokeDesc()
           
 RoleDDLDesc getRoleDDLDesc()
           
 ShowColumnsDesc getShowColumnsDesc()
           
 ShowCompactionsDesc getShowCompactionsDesc()
           
 ShowCreateTableDesc getShowCreateTblDesc()
           
 ShowDatabasesDesc getShowDatabasesDesc()
           
 ShowFunctionsDesc getShowFuncsDesc()
           
 ShowGrantDesc getShowGrantDesc()
           
 ShowIndexesDesc getShowIndexesDesc()
           
 ShowLocksDesc getShowLocksDesc()
           
 ShowPartitionsDesc getShowPartsDesc()
           
 ShowTblPropertiesDesc getShowTblPropertiesDesc()
           
 ShowTablesDesc getShowTblsDesc()
           
 ShowTableStatusDesc getShowTblStatusDesc()
           
 ShowTxnsDesc getShowTxnsDesc()
           
 SwitchDatabaseDesc getSwitchDatabaseDesc()
           
 TruncateTableDesc getTruncateTblDesc()
           
 UnlockDatabaseDesc getUnlockDatabaseDesc()
           
 UnlockTableDesc getUnlockTblDesc()
           
 void setAddPartitionDesc(AddPartitionDesc addPartitionDesc)
           
 void setAlterDatabaseDesc(AlterDatabaseDesc alterDbDesc)
           
 void setAlterIndexDesc(AlterIndexDesc alterIndexDesc)
           
 void setAlterTableAlterPartDesc(AlterTableAlterPartDesc alterPartitionDesc)
           
 void setAlterTableExchangePartition(AlterTableExchangePartition alterTableExchangePartition)
           
 void setAlterTblDesc(AlterTableDesc alterTblDesc)
           
 void setAlterTblSimpleDesc(AlterTableSimpleDesc desc)
           
 void setCreateDatabaseDesc(CreateDatabaseDesc createDatabaseDesc)
          Set Create Database descriptor
 void setCreateIndexDesc(CreateIndexDesc createIndexDesc)
           
 void setCreateTblDesc(CreateTableDesc createTblDesc)
           
 void setCreateTblLikeDesc(CreateTableLikeDesc createTblLikeDesc)
           
 void setCreateViewDesc(CreateViewDesc createVwDesc)
           
 void setCreateVwDesc(CreateViewDesc createVwDesc)
           
 void setDescFuncDesc(DescFunctionDesc descFuncDesc)
           
 void setDescFunctionDesc(DescFunctionDesc descFunctionDesc)
           
 void setDescTblDesc(DescTableDesc descTblDesc)
           
 void setDropDatabaseDesc(DropDatabaseDesc dropDatabaseDesc)
          Set Drop Database descriptor
 void setDropIdxDesc(DropIndexDesc dropIdxDesc)
           
 void setDropTblDesc(DropTableDesc dropTblDesc)
           
 void setGrantDesc(GrantDesc grantDesc)
           
 void setGrantRevokeRoleDDL(GrantRevokeRoleDDL grantRevokeRoleDDL)
           
 void setInputs(HashSet<ReadEntity> inputs)
           
 void setLockDatabaseDesc(LockDatabaseDesc lockDatabaseDesc)
           
 void setLockTblDesc(LockTableDesc lockTblDesc)
           
 void setMergeFilesDesc(AlterTablePartMergeFilesDesc mergeDesc)
           
 void setMsckDesc(MsckDesc msckDesc)
           
 void setNeedLock(boolean needLock)
           
 void setOutputs(HashSet<WriteEntity> outputs)
           
 void setRenamePartitionDesc(RenamePartitionDesc renamePartitionDesc)
           
 void setRevokeDesc(RevokeDesc revokeDesc)
           
 void setRoleDDLDesc(RoleDDLDesc roleDDLDesc)
           
 void setShowColumnsDesc(ShowColumnsDesc showColumnsDesc)
           
 void setShowCompactionsDesc(ShowCompactionsDesc showCompactionsDesc)
           
 void setShowCreateTblDesc(ShowCreateTableDesc showCreateTblDesc)
           
 void setShowDatabasesDesc(ShowDatabasesDesc showDatabasesDesc)
           
 void setShowFuncsDesc(ShowFunctionsDesc showFuncsDesc)
           
 void setShowGrantDesc(ShowGrantDesc showGrantDesc)
           
 void setShowIndexesDesc(ShowIndexesDesc showIndexesDesc)
           
 void setShowLocksDesc(ShowLocksDesc showLocksDesc)
           
 void setShowPartsDesc(ShowPartitionsDesc showPartsDesc)
           
 void setShowTblPropertiesDesc(ShowTblPropertiesDesc showTblPropertiesDesc)
           
 void setShowTblsDesc(ShowTablesDesc showTblsDesc)
           
 void setShowTblStatusDesc(ShowTableStatusDesc showTblStatusDesc)
           
 void setShowTxnsDesc(ShowTxnsDesc showTxnsDesc)
           
 void setSwitchDatabaseDesc(SwitchDatabaseDesc switchDatabaseDesc)
          Set Switch Database descriptor
 void setTruncateTblDesc(TruncateTableDesc truncateTblDesc)
           
 void setUnlockDatabaseDesc(UnlockDatabaseDesc unlockDatabaseDesc)
           
 void setUnlockTblDesc(UnlockTableDesc unlockTblDesc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLWork

public DDLWork()

DDLWork

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

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               CreateIndexDesc createIndex)

DDLWork

public DDLWork(AlterIndexDesc alterIndex)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               CreateDatabaseDesc createDatabaseDesc)
Parameters:
createDatabaseDesc - Create Database descriptor

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               DescDatabaseDesc descDatabaseDesc)
Parameters:
inputs -
outputs -
descDatabaseDesc - Database descriptor

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               AlterDatabaseDesc alterDbDesc)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               TruncateTableDesc truncateTblDesc)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               DropDatabaseDesc dropDatabaseDesc)
Parameters:
dropDatabaseDesc - Drop Database descriptor

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               SwitchDatabaseDesc switchDatabaseDesc)
Parameters:
switchDatabaseDesc - Switch Database descriptor

DDLWork

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

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               AlterIndexDesc alterIdxDesc)
Parameters:
alterIdxDesc - alter index descriptor

DDLWork

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

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               CreateTableLikeDesc createTblLikeDesc)
Parameters:
createTblLikeDesc - create table like descriptor

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               CreateViewDesc createVwDesc)
Parameters:
createVwDesc - create view descriptor

DDLWork

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

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               DescTableDesc descTblDesc)
Parameters:
descTblDesc -

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowDatabasesDesc showDatabasesDesc)
Parameters:
showDatabasesDesc -

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowTablesDesc showTblsDesc)
Parameters:
showTblsDesc -

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowColumnsDesc showColumnsDesc)
Parameters:
showColumnsDesc -

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               LockTableDesc lockTblDesc)
Parameters:
lockTblDesc -

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               UnlockTableDesc unlockTblDesc)
Parameters:
unlockTblDesc -

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               LockDatabaseDesc lockDatabaseDesc)
Parameters:
lockDatabaseDesc -

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               UnlockDatabaseDesc unlockDatabaseDesc)
Parameters:
unlockDatabaseDesc -

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowFunctionsDesc showFuncsDesc)
Parameters:
showFuncsDesc -

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowLocksDesc showLocksDesc)
Parameters:
showLocksDesc -

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowCompactionsDesc showCompactionsDesc)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowTxnsDesc showTxnsDesc)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               DescFunctionDesc descFuncDesc)
Parameters:
descFuncDesc -

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowPartitionsDesc showPartsDesc)
Parameters:
showPartsDesc -

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowCreateTableDesc showCreateTblDesc)
Parameters:
showCreateTblDesc -

DDLWork

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

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               RenamePartitionDesc renamePartitionDesc)
Parameters:
renamePartitionDesc - information about the partitions we want to add.

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               AlterTableSimpleDesc simpleDesc)
Parameters:
inputs -
outputs -
simpleDesc -

DDLWork

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

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowTableStatusDesc showTblStatusDesc)
Parameters:
showTblStatusDesc - show table status descriptor

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowTblPropertiesDesc showTblPropertiesDesc)
Parameters:
showTblPropertiesDesc - show table properties descriptor

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               DropIndexDesc dropIndexDesc)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               RoleDDLDesc roleDDLDesc)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               GrantDesc grantDesc)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowGrantDesc showGrant)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               RevokeDesc revokeDesc)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               GrantRevokeRoleDDL grantRevokeRoleDDL)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               ShowIndexesDesc showIndexesDesc)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               AlterTablePartMergeFilesDesc mergeDesc)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               AlterTableAlterPartDesc alterPartDesc)

DDLWork

public DDLWork(HashSet<ReadEntity> inputs,
               HashSet<WriteEntity> outputs,
               AlterTableExchangePartition alterTableExchangePartition)
Method Detail

getDescDatabaseDesc

public DescDatabaseDesc getDescDatabaseDesc()

getCreateDatabaseDesc

public CreateDatabaseDesc getCreateDatabaseDesc()
Returns:
Create Database descriptor

setCreateDatabaseDesc

public void setCreateDatabaseDesc(CreateDatabaseDesc createDatabaseDesc)
Set Create Database descriptor

Parameters:
createDatabaseDesc -

getDropDatabaseDesc

public DropDatabaseDesc getDropDatabaseDesc()
Returns:
Drop Database descriptor

setDropDatabaseDesc

public void setDropDatabaseDesc(DropDatabaseDesc dropDatabaseDesc)
Set Drop Database descriptor

Parameters:
dropDatabaseDesc -

getSwitchDatabaseDesc

public SwitchDatabaseDesc getSwitchDatabaseDesc()
Returns:
Switch Database descriptor

setSwitchDatabaseDesc

public void setSwitchDatabaseDesc(SwitchDatabaseDesc switchDatabaseDesc)
Set Switch Database descriptor

Parameters:
switchDatabaseDesc -

getLockDatabaseDesc

public LockDatabaseDesc getLockDatabaseDesc()

setLockDatabaseDesc

public void setLockDatabaseDesc(LockDatabaseDesc lockDatabaseDesc)

getUnlockDatabaseDesc

public UnlockDatabaseDesc getUnlockDatabaseDesc()

setUnlockDatabaseDesc

public void setUnlockDatabaseDesc(UnlockDatabaseDesc unlockDatabaseDesc)

getCreateTblDesc

public CreateTableDesc getCreateTblDesc()
Returns:
the createTblDesc

setCreateTblDesc

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

getCreateIndexDesc

public CreateIndexDesc getCreateIndexDesc()
Returns:
the createIndexDesc

setCreateIndexDesc

public void setCreateIndexDesc(CreateIndexDesc createIndexDesc)
Parameters:
createIndexDesc - the createIndexDesc to set

getAlterIndexDesc

public AlterIndexDesc getAlterIndexDesc()
Returns:
the alterIndexDesc

setAlterIndexDesc

public void setAlterIndexDesc(AlterIndexDesc alterIndexDesc)
Parameters:
alterIndexDesc - the alterIndexDesc to set

getCreateTblLikeDesc

public CreateTableLikeDesc getCreateTblLikeDesc()
Returns:
the createTblDesc

setCreateTblLikeDesc

public void setCreateTblLikeDesc(CreateTableLikeDesc createTblLikeDesc)
Parameters:
createTblLikeDesc - the createTblDesc to set

getCreateViewDesc

public CreateViewDesc getCreateViewDesc()
Returns:
the createTblDesc

setCreateViewDesc

public void setCreateViewDesc(CreateViewDesc createVwDesc)
Parameters:
createVwDesc - the createViewDesc 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

getShowDatabasesDesc

public ShowDatabasesDesc getShowDatabasesDesc()
Returns:
the showDatabasesDesc

setShowDatabasesDesc

public void setShowDatabasesDesc(ShowDatabasesDesc showDatabasesDesc)
Parameters:
showDatabasesDesc - the showDatabasesDesc to set

getShowTblsDesc

public ShowTablesDesc getShowTblsDesc()
Returns:
the showTblsDesc

setShowTblsDesc

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

getShowColumnsDesc

public ShowColumnsDesc getShowColumnsDesc()
Returns:
the showColumnsDesc

setShowColumnsDesc

public void setShowColumnsDesc(ShowColumnsDesc showColumnsDesc)
Parameters:
showColumnsDesc - the showColumnsDesc to set

getShowFuncsDesc

public ShowFunctionsDesc getShowFuncsDesc()
Returns:
the showFuncsDesc

getShowLocksDesc

public ShowLocksDesc getShowLocksDesc()
Returns:
the showLocksDesc

getShowCompactionsDesc

public ShowCompactionsDesc getShowCompactionsDesc()

getShowTxnsDesc

public ShowTxnsDesc getShowTxnsDesc()

getLockTblDesc

public LockTableDesc getLockTblDesc()
Returns:
the lockTblDesc

getUnlockTblDesc

public UnlockTableDesc getUnlockTblDesc()
Returns:
the unlockTblDesc

getDescFunctionDesc

public DescFunctionDesc getDescFunctionDesc()
Returns:
the descFuncDesc

setShowFuncsDesc

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

setShowLocksDesc

public void setShowLocksDesc(ShowLocksDesc showLocksDesc)
Parameters:
showLocksDesc - the showLocksDesc to set

setShowCompactionsDesc

public void setShowCompactionsDesc(ShowCompactionsDesc showCompactionsDesc)

setShowTxnsDesc

public void setShowTxnsDesc(ShowTxnsDesc showTxnsDesc)

setLockTblDesc

public void setLockTblDesc(LockTableDesc lockTblDesc)
Parameters:
lockTblDesc - the lockTblDesc to set

setUnlockTblDesc

public void setUnlockTblDesc(UnlockTableDesc unlockTblDesc)
Parameters:
unlockTblDesc - the unlockTblDesc 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

getShowCreateTblDesc

public ShowCreateTableDesc getShowCreateTblDesc()
Returns:
the showCreateTblDesc

setShowCreateTblDesc

public void setShowCreateTblDesc(ShowCreateTableDesc showCreateTblDesc)
Parameters:
showCreateTblDesc - the showCreateTblDesc to set

getShowIndexesDesc

public ShowIndexesDesc getShowIndexesDesc()
Returns:
the showIndexesDesc

setShowIndexesDesc

public void setShowIndexesDesc(ShowIndexesDesc showIndexesDesc)

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.

getRenamePartitionDesc

public RenamePartitionDesc getRenamePartitionDesc()
Returns:
information about the partitions we want to rename.

setRenamePartitionDesc

public void setRenamePartitionDesc(RenamePartitionDesc renamePartitionDesc)
Parameters:
renamePartitionDesc - information about the partitions we want to rename.

getAlterTblSimpleDesc

public AlterTableSimpleDesc getAlterTblSimpleDesc()
Returns:
information about the table/partitions we want to alter.

setAlterTblSimpleDesc

public void setAlterTblSimpleDesc(AlterTableSimpleDesc desc)
Parameters:
desc - information about the table/partitions we want to alter.

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

getShowTblPropertiesDesc

public ShowTblPropertiesDesc getShowTblPropertiesDesc()

setShowTblPropertiesDesc

public void setShowTblPropertiesDesc(ShowTblPropertiesDesc showTblPropertiesDesc)

getCreateVwDesc

public CreateViewDesc getCreateVwDesc()

setCreateVwDesc

public void setCreateVwDesc(CreateViewDesc createVwDesc)

setDescFunctionDesc

public void setDescFunctionDesc(DescFunctionDesc descFunctionDesc)

getInputs

public HashSet<ReadEntity> getInputs()

getOutputs

public HashSet<WriteEntity> getOutputs()

setInputs

public void setInputs(HashSet<ReadEntity> inputs)

setOutputs

public void setOutputs(HashSet<WriteEntity> outputs)

getDropIdxDesc

public DropIndexDesc getDropIdxDesc()

setDropIdxDesc

public void setDropIdxDesc(DropIndexDesc dropIdxDesc)

getRoleDDLDesc

public RoleDDLDesc getRoleDDLDesc()
Returns:
role ddl desc

setRoleDDLDesc

public void setRoleDDLDesc(RoleDDLDesc roleDDLDesc)
Parameters:
roleDDLDesc - role ddl desc

getGrantDesc

public GrantDesc getGrantDesc()
Returns:
grant desc

setGrantDesc

public void setGrantDesc(GrantDesc grantDesc)
Parameters:
grantDesc - grant desc

getShowGrantDesc

public ShowGrantDesc getShowGrantDesc()
Returns:
show grant desc

setShowGrantDesc

public void setShowGrantDesc(ShowGrantDesc showGrantDesc)
Parameters:
showGrantDesc -

getRevokeDesc

public RevokeDesc getRevokeDesc()

setRevokeDesc

public void setRevokeDesc(RevokeDesc revokeDesc)

getGrantRevokeRoleDDL

public GrantRevokeRoleDDL getGrantRevokeRoleDDL()

setGrantRevokeRoleDDL

public void setGrantRevokeRoleDDL(GrantRevokeRoleDDL grantRevokeRoleDDL)
Parameters:
grantRevokeRoleDDL -

setAlterDatabaseDesc

public void setAlterDatabaseDesc(AlterDatabaseDesc alterDbDesc)

getAlterDatabaseDesc

public AlterDatabaseDesc getAlterDatabaseDesc()

getMergeFilesDesc

public AlterTablePartMergeFilesDesc getMergeFilesDesc()
Returns:
descriptor for merging files

setMergeFilesDesc

public void setMergeFilesDesc(AlterTablePartMergeFilesDesc mergeDesc)
Parameters:
mergeDesc - descriptor of merging files

getNeedLock

public boolean getNeedLock()

setNeedLock

public void setNeedLock(boolean needLock)

getAlterTableAlterPartDesc

public AlterTableAlterPartDesc getAlterTableAlterPartDesc()
Returns:
information about the partitions we want to change.

setAlterTableAlterPartDesc

public void setAlterTableAlterPartDesc(AlterTableAlterPartDesc alterPartitionDesc)
Parameters:
alterPartitionDesc - information about the partitions we want to change.

getTruncateTblDesc

public TruncateTableDesc getTruncateTblDesc()

setTruncateTblDesc

public void setTruncateTblDesc(TruncateTableDesc truncateTblDesc)

getAlterTableExchangePartition

public AlterTableExchangePartition getAlterTableExchangePartition()
Returns:
information about the table partition to be exchanged

setAlterTableExchangePartition

public void setAlterTableExchangePartition(AlterTableExchangePartition alterTableExchangePartition)
Parameters:
alterTableExchangePartition - set the value of the table partition to be exchanged


Copyright © 2014 The Apache Software Foundation. All rights reserved.