Package org.apache.hadoop.hbase
Class MetaTableAccessor.CollectingVisitor<T>
java.lang.Object
org.apache.hadoop.hbase.MetaTableAccessor.CollectingVisitor<T>
- All Implemented Interfaces:
MetaTableAccessor.Visitor
- Direct Known Subclasses:
MetaTableAccessor.CollectAllVisitor
- Enclosing class:
- MetaTableAccessor
abstract static class MetaTableAccessor.CollectingVisitor<T>
extends Object
implements MetaTableAccessor.Visitor
A
MetaTableAccessor.Visitor
that collects content out of passed Result
.-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
results
-
-
Constructor Details
-
CollectingVisitor
-
-
Method Details
-
visit
Description copied from interface:MetaTableAccessor.Visitor
Visit the catalog table row.- Specified by:
visit
in interfaceMetaTableAccessor.Visitor
- 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
-
getResults
List<T> getResults()Returns Collected results; wait till visits complete to collect all possible results
-