public static interface PartitionSpecProxy.PartitionIterator extends Iterator<org.apache.hadoop.hive.metastore.api.Partition>
| 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.
|
void |
putToParameters(String key,
String value)
Insert an individual parameter to a Partition's parameter-set.
|
void |
setCreateTime(long time)
Setter for creation-time of a Partition.
|
void |
setParameters(Map<String,String> parameters)
Setter for Partition parameters.
|
forEachRemaining, hasNext, next, removeorg.apache.hadoop.hive.metastore.api.Partition getCurrent()
String getCatName()
String getDbName()
String getTableName()
Map<String,String> getParameters()
void setParameters(Map<String,String> parameters)
parameters - Key-value map fo Partition-level parameters.void putToParameters(String key, String value)
key - value - String getLocation()
void setCreateTime(long time)
time - Timestamp indicating the time of creation of the Partition.Copyright © 2019 The Apache Software Foundation. All Rights Reserved.