[ 
https://issues.apache.org/jira/browse/HBASE-18978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250690#comment-16250690
 ] 

Duo Zhang commented on HBASE-18978:
-----------------------------------

The observer style API in RawAsyncTable is
{code}
void scan(Scan scan, RawScanResultConsumer consumer);
{code}

And in AsyncTable is
{code}
void scan(Scan scan, ScanResultConsumer consumer);
{code}

It is not easy to merge them, that's the key point. So we can declare both in 
the merged interface, but for raw implementation, the latter one will throw 
UNOE, and for the non-raw implementation, the former one will throw UNOE? Seems 
ugly...

> Align the methods in Table and AsyncTable
> -----------------------------------------
>
>                 Key: HBASE-18978
>                 URL: https://issues.apache.org/jira/browse/HBASE-18978
>             Project: HBase
>          Issue Type: Task
>          Components: asyncclient, Client
>            Reporter: Duo Zhang
>            Assignee: Peter Somogyi
>            Priority: Critical
>             Fix For: 2.0.0-beta-1
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to