public static class PartitionSpecWithSharedSDProxy.Iterator extends Object implements PartitionSpecProxy.PartitionIterator
Modifier and Type | Method and Description |
---|---|
String |
getCatName()
Get the catalog name.
|
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() |
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, wait
forEachRemaining
public Partition getCurrent()
PartitionSpecProxy.PartitionIterator
getCurrent
in interface PartitionSpecProxy.PartitionIterator
public String getCatName()
PartitionSpecProxy.PartitionIterator
getCatName
in interface PartitionSpecProxy.PartitionIterator
public String getDbName()
PartitionSpecProxy.PartitionIterator
getDbName
in interface PartitionSpecProxy.PartitionIterator
public String getTableName()
PartitionSpecProxy.PartitionIterator
getTableName
in interface PartitionSpecProxy.PartitionIterator
public Map<String,String> getParameters()
PartitionSpecProxy.PartitionIterator
getParameters
in interface PartitionSpecProxy.PartitionIterator
public void setParameters(Map<String,String> parameters)
PartitionSpecProxy.PartitionIterator
setParameters
in interface PartitionSpecProxy.PartitionIterator
parameters
- Key-value map fo Partition-level parameters.public String getLocation()
PartitionSpecProxy.PartitionIterator
getLocation
in interface PartitionSpecProxy.PartitionIterator
public void putToParameters(String key, String value)
PartitionSpecProxy.PartitionIterator
putToParameters
in interface PartitionSpecProxy.PartitionIterator
public void setCreateTime(long time)
PartitionSpecProxy.PartitionIterator
setCreateTime
in interface PartitionSpecProxy.PartitionIterator
time
- Timestamp indicating the time of creation of the Partition.Copyright © 2019 The Apache Software Foundation. All rights reserved.