abstract static class MetaTableAccessor.CollectingVisitor<T> extends Object implements MetaTableAccessor.Visitor
MetaTableAccessor.Visitor
that collects content out of passed Result
.Constructor and Description |
---|
CollectingVisitor() |
Modifier and Type | Method and Description |
---|---|
(package private) abstract void |
add(Result r) |
(package private) List<T> |
getResults()
Returns Collected results; wait till visits complete to collect all possible results
|
boolean |
visit(Result r)
Visit the catalog table row.
|
CollectingVisitor()
public boolean visit(Result r) throws IOException
MetaTableAccessor.Visitor
visit
in interface MetaTableAccessor.Visitor
r
- A row from catalog tableIOException
List<T> getResults()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.