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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.MsckDesc

public class MsckDesc
extends Object


Constructor Summary
MsckDesc(String tableName, List<Map<String,String>> partSpecs, org.apache.hadoop.fs.Path resFile)
          Description of a msck command.
 
Method Summary
 List<Map<String,String>> getPartitionSpec()
           
 org.apache.hadoop.fs.Path getResFile()
           
 String getTableName()
           
 void setPartitionSpec(List<Map<String,String>> partitionSpec)
           
 void setResFile(org.apache.hadoop.fs.Path resFile)
           
 void setTableName(String tableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsckDesc

public MsckDesc(String tableName,
                List<Map<String,String>> partSpecs,
                org.apache.hadoop.fs.Path resFile)
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 command
Method Detail

getTableName

public String getTableName()
Returns:
the table to check

setTableName

public void setTableName(String tableName)
Parameters:
tableName - the table to check

getPartitionSpec

public List<Map<String,String>> getPartitionSpec()
Returns:
partitions to check.

setPartitionSpec

public void setPartitionSpec(List<Map<String,String>> partitionSpec)
Parameters:
partitionSpec - partitions to check.

getResFile

public org.apache.hadoop.fs.Path getResFile()
Returns:
file to save command output to

setResFile

public void setResFile(org.apache.hadoop.fs.Path resFile)
Parameters:
resFile - file to save command output to


Copyright © 2009 The Apache Software Foundation