| Package | Description | 
|---|---|
| org.apache.hadoop.hbase | |
| org.apache.hadoop.hbase.client | Provides HBase Client | 
| org.apache.hadoop.hbase.shaded.protobuf | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HTableDescriptorDeprecated. 
 As of release 2.0.0, this will be removed in HBase 3.0.0.
             Use  TableDescriptorBuilderto buildHTableDescriptor. | 
| Constructor and Description | 
|---|
| HTableDescriptor(TableDescriptor desc)Deprecated.  | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ImmutableHTableDescriptorDeprecated.  | 
| static class  | TableDescriptorBuilder.ModifyableTableDescriptorTODO: make this private after removing the HTableDescriptor | 
| Modifier and Type | Field and Description | 
|---|---|
| static TableDescriptor | TableDescriptorBuilder. NAMESPACE_TABLEDESCTable descriptor for namespace table | 
| Modifier and Type | Field and Description | 
|---|---|
| static Comparator<TableDescriptor> | TableDescriptor. COMPARATOR | 
| static Comparator<TableDescriptor> | TableDescriptor. COMPARATOR_IGNORE_REPLICATION | 
| Modifier and Type | Method and Description | 
|---|---|
| TableDescriptor | TableDescriptorBuilder. build() | 
| static TableDescriptor | TableDescriptorBuilder. copy(TableDescriptor desc) | 
| static TableDescriptor | TableDescriptorBuilder. copy(TableName name,
    TableDescriptor desc) | 
| TableDescriptor | Table. getDescriptor()Gets the  table descriptorfor this table. | 
| TableDescriptor | HTable. getDescriptor() | 
| TableDescriptor | HBaseAdmin. getDescriptor(TableName tableName) | 
| TableDescriptor | Admin. getDescriptor(TableName tableName)Get a table descriptor. | 
| protected TableDescriptor | HBaseAdmin.TableFuture. getTableDescriptor() | 
| static TableDescriptor | TableDescriptorBuilder. parseFrom(byte[] pbBytes)The input should be created by  TableDescriptorBuilder.toByteArray(org.apache.hadoop.hbase.client.TableDescriptor). | 
| Modifier and Type | Method and Description | 
|---|---|
| static Comparator<TableDescriptor> | TableDescriptor. getComparator(Comparator<ColumnFamilyDescriptor> cfComparator) | 
| CompletableFuture<TableDescriptor> | AsyncTable. getDescriptor()Gets the  TableDescriptorfor this table. | 
| CompletableFuture<TableDescriptor> | AsyncAdmin. getDescriptor(TableName tableName)Method for getting the tableDescriptor | 
| List<TableDescriptor> | HBaseAdmin. listTableDescriptors() | 
| default CompletableFuture<List<TableDescriptor>> | AsyncAdmin. listTableDescriptors()List all the userspace tables. | 
| List<TableDescriptor> | Admin. listTableDescriptors()List all the userspace tables. | 
| CompletableFuture<List<TableDescriptor>> | AsyncAdmin. listTableDescriptors(boolean includeSysTables)List all the tables. | 
| List<TableDescriptor> | HBaseAdmin. listTableDescriptors(List<TableName> tableNames) | 
| CompletableFuture<List<TableDescriptor>> | AsyncAdmin. listTableDescriptors(List<TableName> tableNames)List specific tables including system tables. | 
| List<TableDescriptor> | Admin. listTableDescriptors(List<TableName> tableNames)Get tableDescriptors. | 
| default List<TableDescriptor> | Admin. listTableDescriptors(Pattern pattern)List all the userspace tables that match the given pattern. | 
| List<TableDescriptor> | HBaseAdmin. listTableDescriptors(Pattern pattern,
                    boolean includeSysTables) | 
| CompletableFuture<List<TableDescriptor>> | AsyncAdmin. listTableDescriptors(Pattern pattern,
                    boolean includeSysTables)List all the tables matching the given pattern. | 
| List<TableDescriptor> | Admin. listTableDescriptors(Pattern pattern,
                    boolean includeSysTables)List all the tables matching the given pattern. | 
| List<TableDescriptor> | HBaseAdmin. listTableDescriptorsByNamespace(byte[] name) | 
| List<TableDescriptor> | Admin. listTableDescriptorsByNamespace(byte[] name)Get list of table descriptors by namespace. | 
| CompletableFuture<List<TableDescriptor>> | AsyncAdmin. listTableDescriptorsByNamespace(String name)Get list of table descriptors by namespace. | 
| Modifier and Type | Method and Description | 
|---|---|
| static TableDescriptorUtils.TableDescriptorDelta | TableDescriptorUtils. computeDelta(TableDescriptor oldTD,
            TableDescriptor newTD)Compares two  TableDescriptorand indicate which columns were added, deleted,
 or modified from oldTD to newTD | 
| static TableDescriptor | TableDescriptorBuilder. copy(TableDescriptor desc) | 
| static TableDescriptor | TableDescriptorBuilder. copy(TableName name,
    TableDescriptor desc) | 
| CompletableFuture<Void> | AsyncAdmin. createTable(TableDescriptor desc)Creates a new table. | 
| default void | Admin. createTable(TableDescriptor desc)Creates a new table. | 
| CompletableFuture<Void> | AsyncAdmin. createTable(TableDescriptor desc,
           byte[][] splitKeys)Creates a new table with an initial set of empty regions defined by the specified split keys. | 
| default void | Admin. createTable(TableDescriptor desc,
           byte[][] splitKeys)Creates a new table with an initial set of empty regions defined by the specified split keys. | 
| void | HBaseAdmin. createTable(TableDescriptor desc,
           byte[] startKey,
           byte[] endKey,
           int numRegions) | 
| CompletableFuture<Void> | AsyncAdmin. createTable(TableDescriptor desc,
           byte[] startKey,
           byte[] endKey,
           int numRegions)Creates a new table with the specified number of regions. | 
| void | Admin. createTable(TableDescriptor desc,
           byte[] startKey,
           byte[] endKey,
           int numRegions)Creates a new table with the specified number of regions. | 
| Future<Void> | HBaseAdmin. createTableAsync(TableDescriptor desc) | 
| Future<Void> | Admin. createTableAsync(TableDescriptor desc)Creates a new table but does not block and wait for it to come online. | 
| Future<Void> | HBaseAdmin. createTableAsync(TableDescriptor desc,
                byte[][] splitKeys) | 
| Future<Void> | Admin. createTableAsync(TableDescriptor desc,
                byte[][] splitKeys)Creates a new table but does not block and wait for it to come online. | 
| CompletableFuture<Void> | AsyncAdmin. modifyTable(TableDescriptor desc)Modify an existing table, more IRB friendly version. | 
| default void | Admin. modifyTable(TableDescriptor td)Modify an existing table, more IRB friendly version. | 
| default void | Admin. modifyTable(TableName tableName,
           TableDescriptor td)Deprecated. 
 since 2.0 version and will be removed in 3.0 version. use
              Admin.modifyTable(TableDescriptor) | 
| Future<Void> | HBaseAdmin. modifyTableAsync(TableDescriptor td) | 
| Future<Void> | Admin. modifyTableAsync(TableDescriptor td)Modify an existing table, more IRB (ruby) friendly version. | 
| default Future<Void> | Admin. modifyTableAsync(TableName tableName,
                TableDescriptor td)Deprecated. 
 since 2.0 version and will be removed in 3.0 version.
             use  Admin.modifyTableAsync(TableDescriptor) | 
| static TableDescriptorBuilder | TableDescriptorBuilder. newBuilder(TableDescriptor desc)Copy all values, families, and name from the input. | 
| static byte[] | TableDescriptorBuilder. toByteArray(TableDescriptor desc) | 
| Constructor and Description | 
|---|
| ImmutableHTableDescriptor(TableDescriptor desc)Deprecated.  | 
| ModifyableTableDescriptor(TableName name,
                         TableDescriptor desc)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| static TableDescriptor | ProtobufUtil. toTableDescriptor(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema ts)Converts a TableSchema to TableDescriptor | 
| Modifier and Type | Method and Description | 
|---|---|
| static List<TableDescriptor> | ProtobufUtil. toTableDescriptorList(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetTableDescriptorsResponse proto)Get a list of TableDescriptor from GetTableDescriptorsResponse protobuf | 
| static List<TableDescriptor> | ProtobufUtil. toTableDescriptorList(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ListTableDescriptorsByNamespaceResponse proto)Get a list of TableDescriptor from ListTableDescriptorsByNamespaceResponse protobuf | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.CreateTableRequest | RequestConverter. buildCreateTableRequest(TableDescriptor tableDescriptor,
                       byte[][] splitKeys,
                       long nonceGroup,
                       long nonce)Creates a protocol buffer CreateTableRequest | 
| static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ModifyTableRequest | RequestConverter. buildModifyTableRequest(TableName tableName,
                       TableDescriptor tableDesc,
                       long nonceGroup,
                       long nonce)Creates a protocol buffer ModifyTableRequest | 
| static org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema | ProtobufUtil. toTableSchema(TableDescriptor htd)Converts an TableDescriptor to TableSchema | 
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.