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

Yu Li commented on HBASE-17491:
-------------------------------

Thanks for chiming in [~enis].

bq. Will AsyncTableBuilder extend TableBuilder, or will they be separate? 
They will be separate, since the {{AsyncTable}} interface is not based on 
{{Table}}, so we cannot unify the return type of {{build}} method. Maybe later 
on we could re-write the sync table implementation based on async, but that's a 
long time story.

bq. You also have to deprecate/remove methods in Table.java, not just 
HTable.java.
Ok, let me add this in next patch.

> Remove all setters from HTable interface and introduce a TableBuilder to 
> build Table instance
> ---------------------------------------------------------------------------------------------
>
>                 Key: HBASE-17491
>                 URL: https://issues.apache.org/jira/browse/HBASE-17491
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Yu Li
>            Assignee: Yu Li
>         Attachments: HBASE-17491.patch, HBASE-17491.v2.patch, 
> HBASE-17491.v3.patch, HBASE-17491.v4.patch, HBASE-17491.v5.patch
>
>
> As titled, we will remove all setters in HTable for master branch and 
> deprecate them for branch-1 to make HTable thread-safe. And a new 
> {{TableBuilder}} interface will be introduced to build Table instance



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to