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 |
getCatName()
Get catalog name.
|
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 |
setCatName(String catName)
Set catalog name.
|
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) throws MetaException
MetaExceptionpublic String getCatName()
PartitionSpecProxygetCatName in class PartitionSpecProxypublic 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 setCatName(String catName)
PartitionSpecProxysetCatName in class PartitionSpecProxycatName - catalog name.public 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 © 2024 The Apache Software Foundation. All rights reserved.