Class MetaBrowser.Results
java.lang.Object
org.apache.hadoop.hbase.master.http.MetaBrowser.Results
- All Implemented Interfaces:
AutoCloseable,Iterable<RegionReplicaInfo>
- Enclosing class:
- MetaBrowser
public final class MetaBrowser.Results
extends Object
implements AutoCloseable, Iterable<RegionReplicaInfo>
Encapsulates the results produced by this
MetaBrowser instance.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ResultScannerprivate final Iterator<RegionReplicaInfo> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
resultScanner
-
sourceIterator
-
-
Constructor Details
-
Results
-
-
Method Details
-
hasMoreResults
- Returns:
truewhen the underlyingResultScanneris not yet exhausted,falseotherwise.
-
close
- Specified by:
closein interfaceAutoCloseable
-
iterator
- Specified by:
iteratorin interfaceIterable<RegionReplicaInfo>
-