You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2016/10/21 15:07:58 UTC

[jira] [Updated] (HBASE-16838) Implement scan

     [ https://issues.apache.org/jira/browse/HBASE-16838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Duo Zhang updated HBASE-16838:
------------------------------
    Attachment: HBASE-16838.patch

An initial version.

Need to add more tests, refactor the code and add more documentations and comments. 

And I think the current scan interface is only suitable for experts. The onNext method of ScanObserver can not be blocked. And user need to find a way to prevert OOM as we do not implement flow control.

So I think we need to add more scan methods which are more easy to use later. And for small scan, I think we can introduce a scan method just return a CompletableFuture that wraps the results? Of course the implementations of these methods will be based on the scan method introduced in this issue.

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)