public static class CompositePartitionSpecProxy.Iterator extends Object implements PartitionSpecProxy.PartitionIterator
| Constructor and Description |
|---|
Iterator(CompositePartitionSpecProxy composite) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCatName()
Get the catalog name.
|
org.apache.hadoop.hive.metastore.api.Partition |
getCurrent()
Getter for the Partition "pointed to" by the iterator.
|
String |
getDbName()
Getter for the name of the DB.
|
String |
getLocation()
Getter for Partition-location.
|
Map<String,String> |
getParameters()
Getter for the Partition parameters.
|
String |
getTableName()
Getter for the name of the table.
|
boolean |
hasNext() |
org.apache.hadoop.hive.metastore.api.Partition |
next() |
void |
putToParameters(String key,
String value)
Insert an individual parameter to a Partition's parameter-set.
|
void |
remove() |
void |
setCreateTime(long time)
Setter for creation-time of a Partition.
|
void |
setParameters(Map<String,String> parameters)
Setter for Partition parameters.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic Iterator(CompositePartitionSpecProxy composite)
public boolean hasNext()
public org.apache.hadoop.hive.metastore.api.Partition next()
public void remove()
public org.apache.hadoop.hive.metastore.api.Partition getCurrent()
PartitionSpecProxy.PartitionIteratorgetCurrent in interface PartitionSpecProxy.PartitionIteratorpublic String getCatName()
PartitionSpecProxy.PartitionIteratorgetCatName in interface PartitionSpecProxy.PartitionIteratorpublic String getDbName()
PartitionSpecProxy.PartitionIteratorgetDbName in interface PartitionSpecProxy.PartitionIteratorpublic String getTableName()
PartitionSpecProxy.PartitionIteratorgetTableName in interface PartitionSpecProxy.PartitionIteratorpublic Map<String,String> getParameters()
PartitionSpecProxy.PartitionIteratorgetParameters in interface PartitionSpecProxy.PartitionIteratorpublic void setParameters(Map<String,String> parameters)
PartitionSpecProxy.PartitionIteratorsetParameters in interface PartitionSpecProxy.PartitionIteratorparameters - Key-value map fo Partition-level parameters.public String getLocation()
PartitionSpecProxy.PartitionIteratorgetLocation in interface PartitionSpecProxy.PartitionIteratorpublic void putToParameters(String key, String value)
PartitionSpecProxy.PartitionIteratorputToParameters in interface PartitionSpecProxy.PartitionIteratorpublic void setCreateTime(long time)
PartitionSpecProxy.PartitionIteratorsetCreateTime in interface PartitionSpecProxy.PartitionIteratortime - Timestamp indicating the time of creation of the Partition.Copyright © 2019 The Apache Software Foundation. All Rights Reserved.