| Package | Description | 
|---|---|
| org.apache.hadoop.hbase.client | 
 Provides HBase Client 
 | 
| org.apache.hadoop.hbase.shaded.protobuf | 
| Modifier and Type | Field and Description | 
|---|---|
static TableDescriptor | 
TableDescriptorBuilder.NAMESPACE_TABLEDESC
Deprecated. 
 
since 3.0.0 and will be removed in 4.0.0. We have folded the data in namespace
   table into meta table, so do not use it any more. 
 | 
| 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 descriptor for this table. | 
TableDescriptor | 
Admin.getDescriptor(TableName tableName)
Get a table descriptor. 
 | 
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  
TableDescriptor for this table. | 
CompletableFuture<TableDescriptor> | 
AsyncAdmin.getDescriptor(TableName tableName)
Method for getting the tableDescriptor 
 | 
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> | 
Admin.listTableDescriptors(boolean includeSysTables)
List all userspace tables and whether or not include system tables. 
 | 
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. 
 | 
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> | 
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  
TableDescriptor and 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. 
 | 
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> | 
Admin.createTableAsync(TableDescriptor desc)
Creates a new table but does not block and wait for it to come online. 
 | 
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. 
 | 
Future<Void> | 
Admin.modifyTableAsync(TableDescriptor td)
Modify an existing table, more IRB (ruby) friendly version. 
 | 
static TableDescriptorBuilder | 
TableDescriptorBuilder.newBuilder(TableDescriptor desc)
Copy all values, families, and name from the input. 
 | 
static byte[] | 
TableDescriptorBuilder.toByteArray(TableDescriptor desc)  | 
| 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.