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

Peter Somogyi commented on HBASE-19031:
---------------------------------------

There is a problem doing this change.

{{RemoteHTable}} and {{HTableWrapper}} classes have a deprecated {{public 
Boolean[] exists(List<Get> gets)}} method which prevent us from having the same 
method signature but with {{boolean[]}} return type. HTableWrapper have a 
javadoc comment about the deprecation: {{@deprecated Use \{@link 
#existsAll(java.util.List)\}  instead. since 2.0.  remove in 3.0}}

Shall we tolerate the difference between {{exists}} and {{existsAll}} method?

Ping [~Apache9]

> Align exist method in Table and AsyncTable interfaces
> -----------------------------------------------------
>
>                 Key: HBASE-19031
>                 URL: https://issues.apache.org/jira/browse/HBASE-19031
>             Project: HBase
>          Issue Type: Sub-task
>          Components: asyncclient, Client
>    Affects Versions: 2.0.0-alpha-3
>            Reporter: Peter Somogyi
>            Assignee: Peter Somogyi
>            Priority: Critical
>             Fix For: 2.0.0-beta-1
>
>
> Table and AsyncTable have the ability to pass a list to {{exist}} method 
> similarly to other operations like get, delete.
> However, {{boolean[] existsAll(List<Get> gets)}} does not use the same 
> pattern in Table. It should look like {{boolean[] exists(List<Get> gets)}} to 
> match.



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

Reply via email to