org.apache.hadoop.hive.ql.plan
Class MsckDesc
java.lang.Object
org.apache.hadoop.hive.ql.plan.DDLWork
org.apache.hadoop.hive.ql.plan.MsckDesc
- All Implemented Interfaces:
- Serializable
public class MsckDesc
- extends DDLWork
- implements Serializable
MsckDesc.
- See Also:
- Serialized Form
Constructor Summary |
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. |
Methods inherited from class org.apache.hadoop.hive.ql.plan.DDLWork |
getAddPartitionDesc, getAlterDatabaseDesc, getAlterIndexDesc, getAlterTblDesc, getAlterTblSimpleDesc, getCreateDatabaseDesc, getCreateIndexDesc, getCreateTblDesc, getCreateTblLikeDesc, getCreateViewDesc, getCreateVwDesc, getDescDatabaseDesc, getDescFunctionDesc, getDescTblDesc, getDropDatabaseDesc, getDropIdxDesc, getDropTblDesc, getGrantDesc, getGrantRevokeRoleDDL, getInputs, getLockTblDesc, getMergeFilesDesc, getMsckDesc, getNeedLock, getOutputs, getRenamePartitionDesc, getRevokeDesc, getRoleDDLDesc, getShowColumnsDesc, getShowCreateTblDesc, getShowDatabasesDesc, getShowFuncsDesc, getShowGrantDesc, getShowIndexesDesc, getShowLocksDesc, getShowPartsDesc, getShowTblPropertiesDesc, getShowTblsDesc, getShowTblStatusDesc, getSwitchDatabaseDesc, getUnlockTblDesc, setAddPartitionDesc, setAlterDatabaseDesc, setAlterIndexDesc, setAlterTblDesc, setAlterTblSimpleDesc, setCreateDatabaseDesc, setCreateIndexDesc, setCreateTblDesc, setCreateTblLikeDesc, setCreateViewDesc, setCreateVwDesc, setDescFuncDesc, setDescFunctionDesc, setDescTblDesc, setDropDatabaseDesc, setDropIdxDesc, setDropTblDesc, setGrantDesc, setGrantRevokeRoleDDL, setInputs, setLockTblDesc, setMergeFilesDesc, setMsckDesc, setNeedLock, setOutputs, setRenamePartitionDesc, setRevokeDesc, setRoleDDLDesc, setShowColumnsDesc, setShowCreateTblDesc, setShowDatabasesDesc, setShowFuncsDesc, setShowGrantDesc, setShowIndexesDesc, setShowLocksDesc, setShowPartsDesc, setShowTblPropertiesDesc, setShowTblsDesc, setShowTblStatusDesc, setSwitchDatabaseDesc, setUnlockTblDesc |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MsckDesc
public MsckDesc()
- For serialization use only.
MsckDesc
public MsckDesc(String tableName,
List<? extends Map<String,String>> partSpecs,
org.apache.hadoop.fs.Path resFile,
boolean repairPartitions)
- Description of a msck command.
- Parameters:
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 check
getTableName
public String getTableName()
- Returns:
- the table to check
setTableName
public void setTableName(String tableName)
- Parameters:
tableName
- the table to check
getPartSpecs
public ArrayList<LinkedHashMap<String,String>> getPartSpecs()
- Returns:
- partitions to check.
setPartSpecs
public void setPartSpecs(ArrayList<LinkedHashMap<String,String>> partSpecs)
- Parameters:
partSpecs
- partitions to check.
getResFile
public String getResFile()
- Returns:
- file to save command output to
setResFile
public void setResFile(String resFile)
- Parameters:
resFile
- file to save command output to
isRepairPartitions
public boolean isRepairPartitions()
- Returns:
- remove stale / add new partitions found during the check
setRepairPartitions
public void setRepairPartitions(boolean repairPartitions)
- Parameters:
repairPartitions
- stale / add new partitions found during the check
Copyright © 2013 The Apache Software Foundation