public class RenamePartitionDesc extends DDLDesc implements Serializable
Constructor and Description |
---|
RenamePartitionDesc()
For serialization only.
|
RenamePartitionDesc(String tableName,
Map<String,String> oldPartSpec,
Map<String,String> newPartSpec) |
Modifier and Type | Method and Description |
---|---|
String |
getLocation() |
LinkedHashMap<String,String> |
getNewPartSpec() |
LinkedHashMap<String,String> |
getOldPartSpec() |
String |
getTableName() |
void |
setLocation(String location) |
void |
setNewPartSpec(LinkedHashMap<String,String> partSpec) |
void |
setOldPartSpec(LinkedHashMap<String,String> partSpec) |
void |
setTableName(String tableName) |
public String getTableName()
public void setTableName(String tableName)
tableName
- the table we're going to add the partitions to.public String getLocation()
public void setLocation(String location)
location
- location of partition in relation to tablepublic LinkedHashMap<String,String> getOldPartSpec()
public void setOldPartSpec(LinkedHashMap<String,String> partSpec)
partSpec
- partition specificationpublic LinkedHashMap<String,String> getNewPartSpec()
public void setNewPartSpec(LinkedHashMap<String,String> partSpec)
partSpec
- partition specificationCopyright © 2017 The Apache Software Foundation. All rights reserved.