Package org.apache.hadoop.hbase
Class ClientMetaTableAccessor.CollectRegionLocationsVisitor
java.lang.Object
org.apache.hadoop.hbase.ClientMetaTableAccessor.CollectingVisitor<Pair<RegionInfo,ServerName>>
org.apache.hadoop.hbase.ClientMetaTableAccessor.CollectRegionLocationsVisitor
- All Implemented Interfaces:
ClientMetaTableAccessor.Visitor
- Enclosing class:
- ClientMetaTableAccessor
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.ClientMetaTableAccessor.CollectingVisitor
results
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.ClientMetaTableAccessor.CollectingVisitor
getResults
-
Field Details
-
excludeOfflinedSplitParents
-
current
-
-
Constructor Details
-
CollectRegionLocationsVisitor
CollectRegionLocationsVisitor(boolean excludeOfflinedSplitParents)
-
-
Method Details
-
visit
Description copied from interface:ClientMetaTableAccessor.Visitor
Visit the catalog table row.- Specified by:
visit
in interfaceClientMetaTableAccessor.Visitor
- Overrides:
visit
in classClientMetaTableAccessor.CollectingVisitor<Pair<RegionInfo,
ServerName>> - Parameters:
r
- A row from catalog table- Returns:
- True if we are to proceed scanning the table, else false if we are to stop now.
- Throws:
IOException
-
add
- Specified by:
add
in classClientMetaTableAccessor.CollectingVisitor<Pair<RegionInfo,
ServerName>>
-