public static interface PartitionSpecProxy.PartitionIterator extends Iterator<Partition>
Modifier and Type | Method and Description |
---|---|
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.
|
Partition getCurrent()
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 © 2017 The Apache Software Foundation. All rights reserved.