You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2015/04/28 18:18:06 UTC

[jira] [Comment Edited] (HBASE-12046) HTD/HCD setters should be builder-style

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

Anoop Sam John edited comment on HBASE-12046 at 4/28/15 4:17 PM:
-----------------------------------------------------------------

This breaks binary compatibility from 0.98.x to 1.x upgrades right? 
At least this Jira should be marked as Incompatible change.


was (Author: anoop.hbase):
This breaks binary compatibility from 0.98.x to 1.x upgrades right? 

> HTD/HCD setters should be builder-style
> ---------------------------------------
>
>                 Key: HBASE-12046
>                 URL: https://issues.apache.org/jira/browse/HBASE-12046
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 2.0.0, 0.99.1
>
>         Attachments: hbase-12046_v1-0.99.patch, hbase-12046_v1.patch
>
>
> Similar to Scan / Get, etc constructs, HTD and HCD setters and add'ers should return this from the method, so that objects can be constructed in a builder style: 
> {code}
> Foo foo =
>   new Foo()
>     .setBar()
>     .setBaz() 
> {code}



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