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
Modifier and TypeFieldDescriptionprivate final ResultScanner
private final Iterator<RegionReplicaInfo>
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
resultScanner
-
sourceIterator
-
-
Constructor Details
-
Results
-
-
Method Details
-
hasMoreResults
- Returns:
true
when the underlyingResultScanner
is not yet exhausted,false
otherwise.
-
close
- Specified by:
close
in interfaceAutoCloseable
-
iterator
- Specified by:
iterator
in interfaceIterable<RegionReplicaInfo>
-