public class PartitionSpecWithSharedSDProxy extends PartitionSpecProxy
| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionSpecWithSharedSDProxy.Iterator
Iterator implementation to iterate over all Partitions within the PartitionSpecWithSharedSDProxy.
|
PartitionSpecProxy.Factory, PartitionSpecProxy.PartitionIterator, PartitionSpecProxy.SimplePartitionWrapperIterator| Constructor and Description |
|---|
PartitionSpecWithSharedSDProxy(org.apache.hadoop.hive.metastore.api.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 rootLocation)
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<org.apache.hadoop.hive.metastore.api.PartitionSpec> |
toPartitionSpec()
Conversion to a org.apache.hadoop.hive.metastore.api.PartitionSpec sequence.
|
public PartitionSpecWithSharedSDProxy(org.apache.hadoop.hive.metastore.api.PartitionSpec partitionSpec)
public 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 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<org.apache.hadoop.hive.metastore.api.PartitionSpec> toPartitionSpec()
PartitionSpecProxytoPartitionSpec in class PartitionSpecProxypublic void setRootLocation(String rootLocation) throws org.apache.hadoop.hive.metastore.api.MetaException
PartitionSpecProxysetRootLocation in class PartitionSpecProxyrootLocation - The new common root-location.org.apache.hadoop.hive.metastore.api.MetaExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.