public class PartitionAwarePushBackIterator<T> extends java.lang.Object implements PartitionAwareIterator<T>
Constructor and Description |
---|
PartitionAwarePushBackIterator(PartitionAwareIterator<T> iterator) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getPartition() |
boolean |
hasNext() |
T |
next() |
void |
pushBack(T value) |
void |
remove() |
public PartitionAwarePushBackIterator(PartitionAwareIterator<T> iterator)
public void pushBack(T value)
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public void remove()
remove
in interface java.util.Iterator<T>
public byte[] getPartition()
getPartition
in interface PartitionAwareIterator<T>