hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anoop John <anoop.hb...@gmail.com>
Subject Re: [DISCUSS] Move Type out of KeyValue
Date Thu, 28 Sep 2017 14:06:51 GMT
Moving out of KV means it is BC break right?   Even though KV is
Private, using that only client side can create cell objects (At least
Type specify) . Should we have a deprecation cycle?
Deprecate KV.Type and add Cell.Type  (?)

-Anoop-

On Thu, Sep 28, 2017 at 5:14 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> How about choosing option #2 ?
>
> Cell is annotated Public.
>
> On Thu, Sep 28, 2017 at 2:25 AM, Chia-Ping Tsai <chia7712@apache.org> wrote:
>
>> hi folks,
>>
>> User is allowed to create custom cell but the valid code of type -
>> KeyValue#Type - is declared as IA.Private. As i see it, we should expose
>> KeyValue#Type as Public Client. Three possible ways are shown below:
>> 1) Change declaration of KeyValue#Type from IA.Private to IA.Public
>> 2) Move KeyValue#Type into Cell.
>> 3) Move KeyValue#Type to upper level
>>
>> Any suggestions?
>>
>> --
>> Chia-Ping
>>
>>

Mime
View raw message