public class MsckDesc extends DDLWork implements Serializable
Constructor and Description |
---|
MsckDesc()
For serialization use only.
|
MsckDesc(String tableName,
List<? extends Map<String,String>> partSpecs,
org.apache.hadoop.fs.Path resFile,
boolean repairPartitions)
Description of a msck command.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<LinkedHashMap<String,String>> |
getPartSpecs() |
String |
getResFile() |
String |
getTableName() |
boolean |
isRepairPartitions() |
void |
setPartSpecs(ArrayList<LinkedHashMap<String,String>> partSpecs) |
void |
setRepairPartitions(boolean repairPartitions) |
void |
setResFile(String resFile) |
void |
setTableName(String tableName) |
getAddPartitionDesc, getAlterDatabaseDesc, getAlterIndexDesc, getAlterTableAlterPartDesc, getAlterTableExchangePartition, getAlterTblDesc, getAlterTblSimpleDesc, getCreateDatabaseDesc, getCreateIndexDesc, getCreateTblDesc, getCreateTblLikeDesc, getCreateViewDesc, getCreateVwDesc, getDescDatabaseDesc, getDescFunctionDesc, getDescTblDesc, getDropDatabaseDesc, getDropIdxDesc, getDropTblDesc, getGrantDesc, getGrantRevokeRoleDDL, getInputs, getLockDatabaseDesc, getLockTblDesc, getMergeFilesDesc, getMsckDesc, getNeedLock, getOutputs, getRenamePartitionDesc, getRevokeDesc, getRoleDDLDesc, getShowColumnsDesc, getShowCompactionsDesc, getShowConfDesc, getShowCreateTblDesc, getShowDatabasesDesc, getShowFuncsDesc, getShowGrantDesc, getShowIndexesDesc, getShowLocksDesc, getShowPartsDesc, getShowTblPropertiesDesc, getShowTblsDesc, getShowTblStatusDesc, getShowTxnsDesc, getSwitchDatabaseDesc, getTruncateTblDesc, getUnlockDatabaseDesc, getUnlockTblDesc, setAddPartitionDesc, setAlterDatabaseDesc, setAlterIndexDesc, setAlterTableAlterPartDesc, setAlterTableExchangePartition, setAlterTblDesc, setAlterTblSimpleDesc, setCreateDatabaseDesc, setCreateIndexDesc, setCreateTblDesc, setCreateTblLikeDesc, setCreateViewDesc, setCreateVwDesc, setDescFuncDesc, setDescFunctionDesc, setDescTblDesc, setDropDatabaseDesc, setDropIdxDesc, setDropTblDesc, setGrantDesc, setGrantRevokeRoleDDL, setInputs, setLockDatabaseDesc, setLockTblDesc, setMergeFilesDesc, setMsckDesc, setNeedLock, setOutputs, setRenamePartitionDesc, setRevokeDesc, setRoleDDLDesc, setShowColumnsDesc, setShowCompactionsDesc, setShowConfDesc, setShowCreateTblDesc, setShowDatabasesDesc, setShowFuncsDesc, setShowGrantDesc, setShowIndexesDesc, setShowLocksDesc, setShowPartsDesc, setShowTblPropertiesDesc, setShowTblsDesc, setShowTblStatusDesc, setShowTxnsDesc, setSwitchDatabaseDesc, setTruncateTblDesc, setUnlockDatabaseDesc, setUnlockTblDesc
public MsckDesc()
public MsckDesc(String tableName, List<? extends Map<String,String>> partSpecs, org.apache.hadoop.fs.Path resFile, boolean repairPartitions)
tableName
- Table to check, can be null.partSpecs
- Partition specification, can be null.resFile
- Where to save the output of the commandrepairPartitions
- remove stale / add new partitions found during the checkpublic String getTableName()
public void setTableName(String tableName)
tableName
- the table to checkpublic ArrayList<LinkedHashMap<String,String>> getPartSpecs()
public void setPartSpecs(ArrayList<LinkedHashMap<String,String>> partSpecs)
partSpecs
- partitions to check.public String getResFile()
public void setResFile(String resFile)
resFile
- file to save command output topublic boolean isRepairPartitions()
public void setRepairPartitions(boolean repairPartitions)
repairPartitions
- stale / add new partitions found during the checkCopyright © 2017 The Apache Software Foundation. All rights reserved.