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

ShowPartitionsDesc.

See Also:
Serialized Form

Constructor Summary
ShowPartitionsDesc()
           
ShowPartitionsDesc(String tabName, org.apache.hadoop.fs.Path resFile, Map<String,String> partSpec)
           
 
Method Summary
 Map<String,String> getPartSpec()
           
 String getResFile()
           
 String getSchema()
           
 String getTable()
           
 String getTabName()
           
 void setPartSpec(Map<String,String> partSpec)
           
 void setResFile(String resFile)
           
 void setTabName(String tabName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowPartitionsDesc

public ShowPartitionsDesc()

ShowPartitionsDesc

public ShowPartitionsDesc(String tabName,
                          org.apache.hadoop.fs.Path resFile,
                          Map<String,String> partSpec)
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

getPartSpec

public Map<String,String> getPartSpec()
Returns:
the name of the table.

setPartSpec

public void setPartSpec(Map<String,String> partSpec)
Parameters:
partSpec - the partSpec to set.

getResFile

public String getResFile()
Returns:
the results file

setResFile

public void setResFile(String resFile)
Parameters:
resFile - the results file to be used to return the results


Copyright © 2014 The Apache Software Foundation. All rights reserved.