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

stack commented on HBASE-19897:
-------------------------------

Thanks [~chia7712] for explaination.

bq. ... If users want to try the fluent way, they must to write 
rm.add((Mutation) new Put).

Until the old method is removed I suppose?

Thanks.

> RowMutations should follow the fluent pattern
> ---------------------------------------------
>
>                 Key: HBASE-19897
>                 URL: https://issues.apache.org/jira/browse/HBASE-19897
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>             Fix For: 2.0.0-beta-2
>
>         Attachments: HBASE-19897.v0.patch, HBASE-19897.v1.patch, 
> HBASE-19897.v1.patch
>
>
> Other row ops, including {{Put}}, {{Delete}}, {{Get}}, {{Scan}}, do have the 
> fluent interface. Also, Changing the return type from {{Void}} to 
> {{RowMutations}} won't break the API BC (unless someone has interest in 
> {{Void}} object...)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to