public class CountingPartitionIterator extends WrappingPartitionIterator
| Modifier and Type | Field and Description |
|---|---|
protected DataLimits.Counter |
counter |
wrapped| Constructor and Description |
|---|
CountingPartitionIterator(PartitionIterator result,
DataLimits.Counter counter) |
CountingPartitionIterator(PartitionIterator result,
DataLimits limits,
int nowInSec) |
| Modifier and Type | Method and Description |
|---|---|
DataLimits.Counter |
counter() |
boolean |
hasNext() |
RowIterator |
next() |
close, removeprotected final DataLimits.Counter counter
public CountingPartitionIterator(PartitionIterator result, DataLimits.Counter counter)
public CountingPartitionIterator(PartitionIterator result, DataLimits limits, int nowInSec)
public DataLimits.Counter counter()
public boolean hasNext()
hasNext in interface java.util.Iterator<RowIterator>hasNext in class WrappingPartitionIteratorpublic RowIterator next()
next in interface java.util.Iterator<RowIterator>next in class WrappingPartitionIteratorCopyright © 2015 The Apache Software Foundation