@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class RowResultIterator extends Object implements Iterator<RowResult>, Iterable<RowResult>
Modifier and Type | Field and Description |
---|---|
protected int |
currentRow |
protected int |
numRows |
protected Schema |
schema |
Modifier and Type | Method and Description |
---|---|
static RowResultIterator |
empty() |
long |
getElapsedMillis()
Get the number of milliseconds elapsed since the RPC was created up to the moment when this
response was created.
|
int |
getNumRows() |
String |
getTsUUID()
Get the identifier of the tablet server that sent the response.
|
boolean |
hasNext() |
Iterator<RowResult> |
iterator() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, next
forEach, spliterator
protected final Schema schema
protected final int numRows
protected int currentRow
public int getNumRows()
public static RowResultIterator empty()
public long getElapsedMillis()
public String getTsUUID()
null
if the RPC failed before tablet location lookup succeeded.