@InterfaceAudience.Public @InterfaceStability.Evolving public class RowResultIterator extends Object implements Iterator<RowResult>, Iterable<RowResult>
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()
Get the number of rows in this iterator.
|
String |
getTsUUID()
Get the identifier of the tablet server that sent the response.
|
boolean |
hasNext() |
Iterator<RowResult> |
iterator() |
RowResult |
next() |
void |
remove() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
forEach, spliterator
public static RowResultIterator empty()
public int getNumRows()
public long getElapsedMillis()
public String getTsUUID()
null
if the RPC failed before tablet location lookup succeeded.Copyright © 2018 The Apache Software Foundation. All rights reserved.