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] [Updated] (HBASE-12046) HTD/HCD setters should be builder-style
Date Wed, 29 Apr 2015 12:45:06 GMT

     [ https://issues.apache.org/jira/browse/HBASE-12046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anoop Sam John updated HBASE-12046:
-----------------------------------
    Hadoop Flags: Incompatible change,Reviewed  (was: Reviewed)

I am marking it as an 'Incompatible change'  cc [~enis]

> 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