You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Reid Chan (JIRA)" <ji...@apache.org> on 2018/11/05 11:10:00 UTC

[jira] [Comment Edited] (HBASE-20623) Introduce the helper method "getCellBuilder()" to Mutation

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

Reid Chan edited comment on HBASE-20623 at 11/5/18 11:09 AM:
-------------------------------------------------------------

One more thing, family can also be reserved from client experience(in clear() method), the often case is we alway put multiples cells under one family, then switch to 2nd family, and so on.

We should raise the awareness by docs, and let leave the setFamily() decision to user, otherwise it would keep same with the last cell.


was (Author: reidchan):
One more thing, family can also be reserved from client experience(in clear() method), the often case is we alway put multiples cells under one family, then switch to 2nd family, and so on.

We should raise the awareness by docs, and let leave the setFamily() decision to user, otherwise it would keep same this the last cell.

> Introduce the helper method "getCellBuilder()" to Mutation
> ----------------------------------------------------------
>
>                 Key: HBASE-20623
>                 URL: https://issues.apache.org/jira/browse/HBASE-20623
>             Project: HBase
>          Issue Type: Task
>          Components: API
>            Reporter: Chia-Ping Tsai
>            Assignee: maoling
>            Priority: Minor
>             Fix For: 3.0.0, 2.2.0
>
>         Attachments: HBASE-20623.master.001.patch, HBASE-20623.master.002.patch, HBASE-20623.master.003.patch, HBASE-20623.master.004.patch, HBASE-20623.master.005.patch, HBASE-20623.master.006.patch, HBASE-20623.master.007.patch, HBASE-20623.master.008.patch, HBASE-20623.master.009.patch
>
>
> see [https://lists.apache.org/thread.html/d05bfaa0134502a47f6e1aca56cb0b096d4dd32ddefbbdf28db4952a@%3Cdev.hbase.apache.org%3E] for more details.
> {code:java}
> How about a "getCellBuilder" or "getCellBuilderFactory" method for
> Mutation implementations that gives you a CellBuilder instance that
> already has relevant parts set? Like for a Put instance it should be
> able to already have the Type and Row set.{code}
> mentioned a day or so ago by [~busbey]



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