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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.ddlDesc
      extended by org.apache.hadoop.hive.ql.plan.showPartitionsDesc
All Implemented Interfaces:
Serializable

public class showPartitionsDesc
extends ddlDesc
implements Serializable

See Also:
Serialized Form

Constructor Summary
showPartitionsDesc(String tabName, org.apache.hadoop.fs.Path resFile)
           
 
Method Summary
 org.apache.hadoop.fs.Path getResFile()
           
 String getResFileString()
           
 String getSchema()
           
 String getTable()
           
 String getTabName()
           
 void setResFile(org.apache.hadoop.fs.Path resFile)
           
 void setTabName(String tabName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

showPartitionsDesc

public showPartitionsDesc(String tabName,
                          org.apache.hadoop.fs.Path resFile)
Parameters:
tabName - Name of the table whose partitions need to be listed
resFile - File to store the results in
Method Detail

getTable

public String getTable()

getSchema

public String getSchema()

getTabName

public String getTabName()
Returns:
the name of the table

setTabName

public void setTabName(String tabName)
Parameters:
tabName - the table whose partitions have to be listed

getResFile

public org.apache.hadoop.fs.Path getResFile()
Returns:
the results file

getResFileString

public String getResFileString()

setResFile

public void setResFile(org.apache.hadoop.fs.Path resFile)
Parameters:
resFile - the results file to be used to return the results


Copyright © 2009 The Apache Software Foundation