public class DDLWork
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.util.HashSet<ReadEntity> |
inputs
ReadEntitites that are passed to the hooks.
|
protected java.util.HashSet<WriteEntity> |
outputs
List of WriteEntities that are passed to the hooks.
|
Constructor and Description |
---|
DDLWork() |
DDLWork(AlterIndexDesc alterIndex) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
AddPartitionDesc addPartitionDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
AlterDatabaseDesc alterDbDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
AlterIndexDesc alterIdxDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
AlterTableAlterPartDesc alterPartDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
AlterTableDesc alterTblDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
AlterTableExchangePartition alterTableExchangePartition) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
AlterTablePartMergeFilesDesc mergeDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
AlterTableSimpleDesc simpleDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
CreateDatabaseDesc createDatabaseDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
CreateIndexDesc createIndex) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
CreateTableDesc createTblDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
CreateTableLikeDesc createTblLikeDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
CreateViewDesc createVwDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
DescDatabaseDesc descDatabaseDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
DescFunctionDesc descFuncDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
DescTableDesc descTblDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
DropDatabaseDesc dropDatabaseDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
DropIndexDesc dropIndexDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
DropTableDesc dropTblDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
GrantDesc grantDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
GrantRevokeRoleDDL grantRevokeRoleDDL) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
LockTableDesc lockTblDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
MsckDesc checkDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
RenamePartitionDesc renamePartitionDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
RevokeDesc revokeDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
RoleDDLDesc roleDDLDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
ShowColumnsDesc showColumnsDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
ShowCreateTableDesc showCreateTblDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
ShowDatabasesDesc showDatabasesDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
ShowFunctionsDesc showFuncsDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
ShowGrantDesc showGrant) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
ShowIndexesDesc showIndexesDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
ShowLocksDesc showLocksDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
ShowPartitionsDesc showPartsDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
ShowTablesDesc showTblsDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
ShowTableStatusDesc showTblStatusDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
ShowTblPropertiesDesc showTblPropertiesDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
SwitchDatabaseDesc switchDatabaseDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
TruncateTableDesc truncateTblDesc) |
DDLWork(java.util.HashSet<ReadEntity> inputs,
java.util.HashSet<WriteEntity> outputs,
UnlockTableDesc unlockTblDesc) |
protected java.util.HashSet<ReadEntity> inputs
protected java.util.HashSet<WriteEntity> outputs
public DDLWork()
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, CreateIndexDesc createIndex)
public DDLWork(AlterIndexDesc alterIndex)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, CreateDatabaseDesc createDatabaseDesc)
createDatabaseDesc
- Create Database descriptorpublic DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, DescDatabaseDesc descDatabaseDesc)
inputs
- outputs
- descDatabaseDesc
- Database descriptorpublic DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, AlterDatabaseDesc alterDbDesc)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, TruncateTableDesc truncateTblDesc)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, DropDatabaseDesc dropDatabaseDesc)
dropDatabaseDesc
- Drop Database descriptorpublic DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, SwitchDatabaseDesc switchDatabaseDesc)
switchDatabaseDesc
- Switch Database descriptorpublic DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, AlterTableDesc alterTblDesc)
alterTblDesc
- alter table descriptorpublic DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, AlterIndexDesc alterIdxDesc)
alterIdxDesc
- alter index descriptorpublic DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, CreateTableDesc createTblDesc)
createTblDesc
- create table descriptorpublic DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, CreateTableLikeDesc createTblLikeDesc)
createTblLikeDesc
- create table like descriptorpublic DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, CreateViewDesc createVwDesc)
createVwDesc
- create view descriptorpublic DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, DropTableDesc dropTblDesc)
dropTblDesc
- drop table descriptorpublic DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, DescTableDesc descTblDesc)
descTblDesc
- public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, ShowDatabasesDesc showDatabasesDesc)
showDatabasesDesc
- public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, ShowTablesDesc showTblsDesc)
showTblsDesc
- public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, ShowColumnsDesc showColumnsDesc)
showColumnsDesc
- public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, LockTableDesc lockTblDesc)
lockTblDesc
- public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, UnlockTableDesc unlockTblDesc)
unlockTblDesc
- public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, ShowFunctionsDesc showFuncsDesc)
showFuncsDesc
- public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, ShowLocksDesc showLocksDesc)
showLocksDesc
- public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, DescFunctionDesc descFuncDesc)
descFuncDesc
- public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, ShowPartitionsDesc showPartsDesc)
showPartsDesc
- public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, ShowCreateTableDesc showCreateTblDesc)
showCreateTblDesc
- public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, AddPartitionDesc addPartitionDesc)
addPartitionDesc
- information about the partitions we want to add.public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, RenamePartitionDesc renamePartitionDesc)
renamePartitionDesc
- information about the partitions we want to add.public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, AlterTableSimpleDesc simpleDesc)
inputs
- outputs
- simpleDesc
- public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, MsckDesc checkDesc)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, ShowTableStatusDesc showTblStatusDesc)
showTblStatusDesc
- show table status descriptorpublic DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, ShowTblPropertiesDesc showTblPropertiesDesc)
showTblPropertiesDesc
- show table properties descriptorpublic DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, DropIndexDesc dropIndexDesc)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, RoleDDLDesc roleDDLDesc)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, GrantDesc grantDesc)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, ShowGrantDesc showGrant)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, RevokeDesc revokeDesc)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, GrantRevokeRoleDDL grantRevokeRoleDDL)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, ShowIndexesDesc showIndexesDesc)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, AlterTablePartMergeFilesDesc mergeDesc)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, AlterTableAlterPartDesc alterPartDesc)
public DDLWork(java.util.HashSet<ReadEntity> inputs, java.util.HashSet<WriteEntity> outputs, AlterTableExchangePartition alterTableExchangePartition)
public DescDatabaseDesc getDescDatabaseDesc()
public CreateDatabaseDesc getCreateDatabaseDesc()
public void setCreateDatabaseDesc(CreateDatabaseDesc createDatabaseDesc)
createDatabaseDesc
- public DropDatabaseDesc getDropDatabaseDesc()
public void setDropDatabaseDesc(DropDatabaseDesc dropDatabaseDesc)
dropDatabaseDesc
- public SwitchDatabaseDesc getSwitchDatabaseDesc()
public void setSwitchDatabaseDesc(SwitchDatabaseDesc switchDatabaseDesc)
switchDatabaseDesc
- public CreateTableDesc getCreateTblDesc()
public void setCreateTblDesc(CreateTableDesc createTblDesc)
createTblDesc
- the createTblDesc to setpublic CreateIndexDesc getCreateIndexDesc()
public void setCreateIndexDesc(CreateIndexDesc createIndexDesc)
createIndexDesc
- the createIndexDesc to setpublic AlterIndexDesc getAlterIndexDesc()
public void setAlterIndexDesc(AlterIndexDesc alterIndexDesc)
alterIndexDesc
- the alterIndexDesc to setpublic CreateTableLikeDesc getCreateTblLikeDesc()
public void setCreateTblLikeDesc(CreateTableLikeDesc createTblLikeDesc)
createTblLikeDesc
- the createTblDesc to setpublic CreateViewDesc getCreateViewDesc()
public void setCreateViewDesc(CreateViewDesc createVwDesc)
createVwDesc
- the createViewDesc to setpublic DropTableDesc getDropTblDesc()
public void setDropTblDesc(DropTableDesc dropTblDesc)
dropTblDesc
- the dropTblDesc to setpublic AlterTableDesc getAlterTblDesc()
public void setAlterTblDesc(AlterTableDesc alterTblDesc)
alterTblDesc
- the alterTblDesc to setpublic ShowDatabasesDesc getShowDatabasesDesc()
public void setShowDatabasesDesc(ShowDatabasesDesc showDatabasesDesc)
showDatabasesDesc
- the showDatabasesDesc to setpublic ShowTablesDesc getShowTblsDesc()
public void setShowTblsDesc(ShowTablesDesc showTblsDesc)
showTblsDesc
- the showTblsDesc to setpublic ShowColumnsDesc getShowColumnsDesc()
public void setShowColumnsDesc(ShowColumnsDesc showColumnsDesc)
showColumnsDesc
- the showColumnsDesc to setpublic ShowFunctionsDesc getShowFuncsDesc()
public ShowLocksDesc getShowLocksDesc()
public LockTableDesc getLockTblDesc()
public UnlockTableDesc getUnlockTblDesc()
public DescFunctionDesc getDescFunctionDesc()
public void setShowFuncsDesc(ShowFunctionsDesc showFuncsDesc)
showFuncsDesc
- the showFuncsDesc to setpublic void setShowLocksDesc(ShowLocksDesc showLocksDesc)
showLocksDesc
- the showLocksDesc to setpublic void setLockTblDesc(LockTableDesc lockTblDesc)
lockTblDesc
- the lockTblDesc to setpublic void setUnlockTblDesc(UnlockTableDesc unlockTblDesc)
unlockTblDesc
- the unlockTblDesc to setpublic void setDescFuncDesc(DescFunctionDesc descFuncDesc)
descFuncDesc
- the showFuncsDesc to setpublic ShowPartitionsDesc getShowPartsDesc()
public void setShowPartsDesc(ShowPartitionsDesc showPartsDesc)
showPartsDesc
- the showPartsDesc to setpublic ShowCreateTableDesc getShowCreateTblDesc()
public void setShowCreateTblDesc(ShowCreateTableDesc showCreateTblDesc)
showCreateTblDesc
- the showCreateTblDesc to setpublic ShowIndexesDesc getShowIndexesDesc()
public void setShowIndexesDesc(ShowIndexesDesc showIndexesDesc)
public DescTableDesc getDescTblDesc()
public void setDescTblDesc(DescTableDesc descTblDesc)
descTblDesc
- the descTblDesc to setpublic AddPartitionDesc getAddPartitionDesc()
public void setAddPartitionDesc(AddPartitionDesc addPartitionDesc)
addPartitionDesc
- information about the partitions we want to add.public RenamePartitionDesc getRenamePartitionDesc()
public void setRenamePartitionDesc(RenamePartitionDesc renamePartitionDesc)
renamePartitionDesc
- information about the partitions we want to rename.public AlterTableSimpleDesc getAlterTblSimpleDesc()
public void setAlterTblSimpleDesc(AlterTableSimpleDesc desc)
desc
- information about the table/partitions we want to alter.public MsckDesc getMsckDesc()
public void setMsckDesc(MsckDesc msckDesc)
msckDesc
- metastore check descriptionpublic ShowTableStatusDesc getShowTblStatusDesc()
public void setShowTblStatusDesc(ShowTableStatusDesc showTblStatusDesc)
showTblStatusDesc
- show table descriptorpublic ShowTblPropertiesDesc getShowTblPropertiesDesc()
public void setShowTblPropertiesDesc(ShowTblPropertiesDesc showTblPropertiesDesc)
public CreateViewDesc getCreateVwDesc()
public void setCreateVwDesc(CreateViewDesc createVwDesc)
public void setDescFunctionDesc(DescFunctionDesc descFunctionDesc)
public java.util.HashSet<ReadEntity> getInputs()
public java.util.HashSet<WriteEntity> getOutputs()
public void setInputs(java.util.HashSet<ReadEntity> inputs)
public void setOutputs(java.util.HashSet<WriteEntity> outputs)
public DropIndexDesc getDropIdxDesc()
public void setDropIdxDesc(DropIndexDesc dropIdxDesc)
public RoleDDLDesc getRoleDDLDesc()
public void setRoleDDLDesc(RoleDDLDesc roleDDLDesc)
roleDDLDesc
- role ddl descpublic GrantDesc getGrantDesc()
public void setGrantDesc(GrantDesc grantDesc)
grantDesc
- grant descpublic ShowGrantDesc getShowGrantDesc()
public void setShowGrantDesc(ShowGrantDesc showGrantDesc)
showGrantDesc
- public RevokeDesc getRevokeDesc()
public void setRevokeDesc(RevokeDesc revokeDesc)
public GrantRevokeRoleDDL getGrantRevokeRoleDDL()
public void setGrantRevokeRoleDDL(GrantRevokeRoleDDL grantRevokeRoleDDL)
grantRevokeRoleDDL
- public void setAlterDatabaseDesc(AlterDatabaseDesc alterDbDesc)
public AlterDatabaseDesc getAlterDatabaseDesc()
public AlterTablePartMergeFilesDesc getMergeFilesDesc()
public void setMergeFilesDesc(AlterTablePartMergeFilesDesc mergeDesc)
mergeDesc
- descriptor of merging filespublic boolean getNeedLock()
public void setNeedLock(boolean needLock)
public AlterTableAlterPartDesc getAlterTableAlterPartDesc()
public void setAlterTableAlterPartDesc(AlterTableAlterPartDesc alterPartitionDesc)
alterPartitionDesc
- information about the partitions we want to change.public TruncateTableDesc getTruncateTblDesc()
public void setTruncateTblDesc(TruncateTableDesc truncateTblDesc)
public AlterTableExchangePartition getAlterTableExchangePartition()
public void setAlterTableExchangePartition(AlterTableExchangePartition alterTableExchangePartition)
alterTableExchangePartition
- set the value of the table partition to be exchangedCopyright © 2012 The Apache Software Foundation