org.apache.hadoop.hive.ql.plan
Class ShowPartitionsDesc
java.lang.Object
org.apache.hadoop.hive.ql.plan.DDLDesc
org.apache.hadoop.hive.ql.plan.ShowPartitionsDesc
- All Implemented Interfaces:
- Serializable
public class ShowPartitionsDesc
- extends DDLDesc
- implements Serializable
ShowPartitionsDesc.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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 © 2013 The Apache Software Foundation