hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12046) HTD/HCD setters should be builder-style
Date Thu, 30 Apr 2015 18:51:07 GMT

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

Enis Soztutar commented on HBASE-12046:
---------------------------------------

Thanks [~anoop.hbase]. Yes, this breaks binary compat between 0.98 and 1.0 among other jiras.


> 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)

Mime
View raw message