Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
long |
getKVCount()
Get a count of the total number of entries in all rows read so far.
|
boolean |
hasNext()
Returns true if there is at least one more row to get.
|
Iterator<Map.Entry<Key,Value>> |
next()
Fetch the next row.
|
void |
remove()
Unsupported.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public RowIterator(Iterator<Map.Entry<Key,Value>> iterator)
public boolean hasNext()
public void remove()
public long getKVCount()
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.