[
https://issues.apache.org/jira/browse/HBASE-16838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15599624#comment-15599624
]
Duo Zhang commented on HBASE-16838:
-----------------------------------
In general, I think we should have 3 scan methods in AsyncTable interface.
{code}
CompletableFuture<List<Result>> scan(Scan scan); // for small scan
void scan(Scan scan, ScanObserver scanObserver); // the basic scan method, for
experts
ResultScanner getScanner(Scan scan); // A wrapper of the method above, works
like the AsyncPrefetchResultScanner
{code}
Since the meta region locator only uses small scan, will open a new issue to
implement small scan method first.
FYI [~stack] [~carp84]. Thanks.
> Implement scan
> --------------
>
> Key: HBASE-16838
> URL: https://issues.apache.org/jira/browse/HBASE-16838
> Project: HBase
> Issue Type: Sub-task
> Affects Versions: 2.0.0
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Fix For: 2.0.0
>
> Attachments: HBASE-16838.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)