You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2020/01/08 16:50:00 UTC

[jira] [Updated] (HBASE-23662) Replace HColumnDescriptor(String cf) with ColumnFamilyDescriptor

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

Viraj Jasani updated HBASE-23662:
---------------------------------
    Fix Version/s: 3.0.0
           Status: Patch Available  (was: In Progress)

> Replace HColumnDescriptor(String cf) with ColumnFamilyDescriptor
> ----------------------------------------------------------------
>
>                 Key: HBASE-23662
>                 URL: https://issues.apache.org/jira/browse/HBASE-23662
>             Project: HBase
>          Issue Type: Task
>    Affects Versions: 3.0.0
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Major
>             Fix For: 3.0.0
>
>
> We have deprecated HColumnDescriptor and HTableDescriptor some time back in 2.0.0. Although there are many use-cases still using them, we can start replacing them with builder pattern: ColumnFamilyDescriptorBuilder and TableDescriptorBuilder.
> In an attempt to do so, starting with replacing specific constructor of HColumnDescriptor:
> {code:java}
> public HTableDescriptor(final TableName name) {
>   this(new ModifyableTableDescriptor(name));
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)