public class PartitionListComposingSpecProxy extends PartitionSpecProxy
| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionListComposingSpecProxy.Iterator |
PartitionSpecProxy.Factory, PartitionSpecProxy.PartitionIterator, PartitionSpecProxy.SimplePartitionWrapperIterator| Modifier | Constructor and Description |
|---|---|
protected |
PartitionListComposingSpecProxy(PartitionSpec partitionSpec) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDbName()
Getter for name of the DB.
|
PartitionSpecProxy.PartitionIterator |
getPartitionIterator()
Iterator to the (virtual) sequence of Partitions represented by the PartitionSpec.
|
String |
getTableName()
Getter for name of the table.
|
void |
setDbName(String dbName)
Setter for name of the DB.
|
void |
setRootLocation(String newRootPath)
Setter for the common root-location for all partitions in the PartitionSet.
|
void |
setTableName(String tableName)
Setter for name of the table.
|
int |
size()
The number of Partition instances represented by the PartitionSpec.
|
List<PartitionSpec> |
toPartitionSpec()
Conversion to a org.apache.hadoop.hive.metastore.api.PartitionSpec sequence.
|
protected PartitionListComposingSpecProxy(PartitionSpec partitionSpec)
public String getDbName()
PartitionSpecProxygetDbName in class PartitionSpecProxypublic String getTableName()
PartitionSpecProxygetTableName in class PartitionSpecProxypublic PartitionSpecProxy.PartitionIterator getPartitionIterator()
PartitionSpecProxygetPartitionIterator in class PartitionSpecProxypublic List<PartitionSpec> toPartitionSpec()
PartitionSpecProxytoPartitionSpec in class PartitionSpecProxypublic int size()
PartitionSpecProxysize in class PartitionSpecProxypublic void setDbName(String dbName)
PartitionSpecProxysetDbName in class PartitionSpecProxydbName - The name of the DB.public void setTableName(String tableName)
PartitionSpecProxysetTableName in class PartitionSpecProxytableName - The name of the table.public void setRootLocation(String newRootPath) throws MetaException
PartitionSpecProxysetRootLocation in class PartitionSpecProxynewRootPath - The new common root-location.MetaExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.