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, remove
protected 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 WrappingPartitionIterator
public RowIterator next()
next
in interface java.util.Iterator<RowIterator>
next
in class WrappingPartitionIterator
Copyright © 2015 The Apache Software Foundation