private abstract static class ClientMetaTableAccessor.CollectingVisitor<T> extends Object implements ClientMetaTableAccessor.Visitor
ClientMetaTableAccessor.Visitor
that collects content out of passed Result
.Modifier | Constructor and Description |
---|---|
private |
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.
|
private CollectingVisitor()
public boolean visit(Result r) throws IOException
ClientMetaTableAccessor.Visitor
visit
in interface ClientMetaTableAccessor.Visitor
r
- A row from catalog tableIOException
List<T> getResults()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.