hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12046) HTD/HCD setters should be builder-style
Date Tue, 28 Apr 2015 06:11:06 GMT

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

Anoop Sam John commented on HBASE-12046:
----------------------------------------

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)

Mime
View raw message