|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.ql.plan.DDLWork
public class DDLWork
DDLWork.
| Field Summary | |
|---|---|
protected HashSet<ReadEntity> |
inputs
ReadEntitites that are passed to the hooks. |
protected HashSet<WriteEntity> |
outputs
List of WriteEntities that are passed to the hooks. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected HashSet<ReadEntity> inputs
protected HashSet<WriteEntity> outputs
| Constructor Detail |
|---|
public DDLWork()
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
CreateIndexDesc createIndex)
public DDLWork(AlterIndexDesc alterIndex)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
CreateDatabaseDesc createDatabaseDesc)
createDatabaseDesc - Create Database descriptor
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
DescDatabaseDesc descDatabaseDesc)
inputs - outputs - descDatabaseDesc - Database descriptor
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
AlterDatabaseDesc alterDbDesc)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
TruncateTableDesc truncateTblDesc)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
DropDatabaseDesc dropDatabaseDesc)
dropDatabaseDesc - Drop Database descriptor
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
SwitchDatabaseDesc switchDatabaseDesc)
switchDatabaseDesc - Switch Database descriptor
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
AlterTableDesc alterTblDesc)
alterTblDesc - alter table descriptor
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
AlterIndexDesc alterIdxDesc)
alterIdxDesc - alter index descriptor
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
CreateTableDesc createTblDesc)
createTblDesc - create table descriptor
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
CreateTableLikeDesc createTblLikeDesc)
createTblLikeDesc - create table like descriptor
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
CreateViewDesc createVwDesc)
createVwDesc - create view descriptor
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
DropTableDesc dropTblDesc)
dropTblDesc - drop table descriptor
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
DescTableDesc descTblDesc)
descTblDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowDatabasesDesc showDatabasesDesc)
showDatabasesDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowTablesDesc showTblsDesc)
showTblsDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowColumnsDesc showColumnsDesc)
showColumnsDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
LockTableDesc lockTblDesc)
lockTblDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
UnlockTableDesc unlockTblDesc)
unlockTblDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
LockDatabaseDesc lockDatabaseDesc)
lockDatabaseDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
UnlockDatabaseDesc unlockDatabaseDesc)
unlockDatabaseDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowFunctionsDesc showFuncsDesc)
showFuncsDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowLocksDesc showLocksDesc)
showLocksDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowCompactionsDesc showCompactionsDesc)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowTxnsDesc showTxnsDesc)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
DescFunctionDesc descFuncDesc)
descFuncDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowPartitionsDesc showPartsDesc)
showPartsDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowCreateTableDesc showCreateTblDesc)
showCreateTblDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
AddPartitionDesc addPartitionDesc)
addPartitionDesc - information about the partitions we want to add.
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
RenamePartitionDesc renamePartitionDesc)
renamePartitionDesc - information about the partitions we want to add.
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
AlterTableSimpleDesc simpleDesc)
inputs - outputs - simpleDesc -
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
MsckDesc checkDesc)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowTableStatusDesc showTblStatusDesc)
showTblStatusDesc - show table status descriptor
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowTblPropertiesDesc showTblPropertiesDesc)
showTblPropertiesDesc - show table properties descriptor
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
DropIndexDesc dropIndexDesc)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
RoleDDLDesc roleDDLDesc)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
GrantDesc grantDesc)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowGrantDesc showGrant)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
RevokeDesc revokeDesc)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
GrantRevokeRoleDDL grantRevokeRoleDDL)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
ShowIndexesDesc showIndexesDesc)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
AlterTablePartMergeFilesDesc mergeDesc)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
AlterTableAlterPartDesc alterPartDesc)
public DDLWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
AlterTableExchangePartition alterTableExchangePartition)
| Method Detail |
|---|
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 LockDatabaseDesc getLockDatabaseDesc()
public void setLockDatabaseDesc(LockDatabaseDesc lockDatabaseDesc)
public UnlockDatabaseDesc getUnlockDatabaseDesc()
public void setUnlockDatabaseDesc(UnlockDatabaseDesc unlockDatabaseDesc)
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 ShowCompactionsDesc getShowCompactionsDesc()
public ShowTxnsDesc getShowTxnsDesc()
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 setShowCompactionsDesc(ShowCompactionsDesc showCompactionsDesc)
public void setShowTxnsDesc(ShowTxnsDesc showTxnsDesc)
public 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 HashSet<ReadEntity> getInputs()
public HashSet<WriteEntity> getOutputs()
public void setInputs(HashSet<ReadEntity> inputs)
public void setOutputs(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 exchanged
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||