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 10:48:00 UTC

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

Viraj Jasani created HBASE-23662:
------------------------------------

             Summary: 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


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)