public class CountingRowIterator extends WrappingRowIterator
Modifier and Type | Field and Description |
---|---|
protected DataLimits.Counter |
counter |
wrapped
Constructor and Description |
---|
CountingRowIterator(RowIterator iter,
DataLimits.Counter counter) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
Row |
next() |
columns, isReverseOrder, metadata, partitionKey, staticRow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEmpty
protected final DataLimits.Counter counter
public CountingRowIterator(RowIterator iter, DataLimits.Counter counter)
public boolean hasNext()
hasNext
in interface java.util.Iterator<Row>
hasNext
in class WrappingRowIterator
public Row next()
next
in interface java.util.Iterator<Row>
next
in class WrappingRowIterator
public void close()
close
in interface java.lang.AutoCloseable
close
in interface RowIterator
close
in class WrappingRowIterator
Copyright © 2015 The Apache Software Foundation