public final class MetaBrowser.Results extends Object implements AutoCloseable, Iterable<RegionReplicaInfo>
MetaBrowser instance.| Modifier and Type | Field and Description | 
|---|---|
| private ResultScanner | resultScanner | 
| private Iterator<RegionReplicaInfo> | sourceIterator | 
| Modifier | Constructor and Description | 
|---|---|
| private  | Results(ResultScanner resultScanner) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| boolean | hasMoreResults() | 
| Iterator<RegionReplicaInfo> | iterator() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprivate final ResultScanner resultScanner
private final Iterator<RegionReplicaInfo> sourceIterator
private Results(ResultScanner resultScanner)
public boolean hasMoreResults()
true when the underlying ResultScanner is not yet exhausted,
   false otherwise.public void close()
close in interface AutoCloseablepublic Iterator<RegionReplicaInfo> iterator()
iterator in interface Iterable<RegionReplicaInfo>Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.