Package org.apache.accumulo.core.client
Class RowIterator
- java.lang.Object
-
- org.apache.accumulo.core.client.RowIterator
-
-
Constructor Summary
Constructors Constructor Description RowIterator(Iterable<Map.Entry<Key,Value>> iterable)Create an iterator from an Iterable.RowIterator(Iterator<Map.Entry<Key,Value>> iterator)Create an iterator from an (ordered) sequence of KeyValue pairs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetKVCount()Get a count of the total number of entries in all rows read so far.booleanhasNext()Returns true if there is at least one more row to get.Iterator<Map.Entry<Key,Value>>next()Fetch the next row.voidremove()Unsupported.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Returns true if there is at least one more row to get. If the last row hasn't been fully read, this method will read through the end of the last row so it can determine if the underlying iterator has a next row. The last row is disabled from future use.
-
remove
public void remove()
Unsupported.
-
getKVCount
public long getKVCount()
Get a count of the total number of entries in all rows read so far.
-
-