public abstract class PurgingPartitionIterator extends WrappingUnfilteredPartitionIterator
wrapped| Constructor and Description |
|---|
PurgingPartitionIterator(UnfilteredPartitionIterator iterator,
int gcBefore) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract long |
getMaxPurgeableTimestamp() |
boolean |
hasNext() |
UnfilteredRowIterator |
next() |
protected void |
onEmptyPartitionPostPurge(DecoratedKey partitionKey) |
protected void |
onNewPartition(DecoratedKey partitionKey) |
protected void |
updateProgress() |
close, computeNext, isForThrift, metadataremovepublic PurgingPartitionIterator(UnfilteredPartitionIterator iterator, int gcBefore)
protected abstract long getMaxPurgeableTimestamp()
protected void onNewPartition(DecoratedKey partitionKey)
protected void onEmptyPartitionPostPurge(DecoratedKey partitionKey)
protected void updateProgress()
public boolean hasNext()
hasNext in interface java.util.Iterator<UnfilteredRowIterator>hasNext in class WrappingUnfilteredPartitionIteratorpublic UnfilteredRowIterator next()
next in interface java.util.Iterator<UnfilteredRowIterator>next in class WrappingUnfilteredPartitionIteratorCopyright © 2015 The Apache Software Foundation