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

Peter Somogyi commented on HBASE-19213:
---------------------------------------

There is also another problem with this design. The common methods that are in 
CheckAndMutateBuilderBaseImpl return CheckAndMutateBuilderBase and on that the 
user can't call .then*() operations.
{{table.checkAndMutate(row, 
cf).qualifier(qualif).ifEquals(value).*thenMutate*(mutate);}}

[~appy], do you have any recommendations?

> Align check and mutate operations in Table and AsyncTable
> ---------------------------------------------------------
>
>                 Key: HBASE-19213
>                 URL: https://issues.apache.org/jira/browse/HBASE-19213
>             Project: HBase
>          Issue Type: Sub-task
>          Components: API
>    Affects Versions: 2.0.0-alpha-4
>            Reporter: Peter Somogyi
>            Assignee: Peter Somogyi
>            Priority: Minor
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-19213.branch-2.002.patch, 
> HBASE-19213.master.001.patch, HBASE-19213.master.001.patch, 
> HBASE-19213.master.002.patch
>
>
> Check and mutate methods are way different. Table has checkAndx methods (some 
> of them are deprecated), but AsyncTable has an interface called 
> CheckAndMutateBuilder and these kind of operations are handled through that.



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

Reply via email to