| Package | Description | 
|---|---|
| org.apache.hadoop.hbase | |
| org.apache.hadoop.hbase.client | Provides HBase Client | 
| org.apache.hadoop.hbase.protobuf | Holds classes generated from protobuf
 src/main/protobufdefinition files. | 
| Modifier and Type | Field and Description | 
|---|---|
| static HTableDescriptor | HTableDescriptor. META_TABLEDESCTable descriptor for  hbase:metacatalog table | 
| static HTableDescriptor | HTableDescriptor. NAMESPACE_TABLEDESCTable descriptor for namespace table | 
| Modifier and Type | Method and Description | 
|---|---|
| static HTableDescriptor | HTableDescriptor. convert(HBaseProtos.TableSchema ts) | 
| static HTableDescriptor | HTableDescriptor. parseFrom(byte[] bytes) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | HTableDescriptor. compareTo(HTableDescriptor other)Compares the descriptor with another descriptor which is passed as a parameter. | 
| Constructor and Description | 
|---|
| HTableDescriptor(HTableDescriptor desc)Construct a table descriptor by cloning the descriptor passed as a parameter. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | UnmodifyableHTableDescriptorRead-only table descriptor. | 
| Modifier and Type | Method and Description | 
|---|---|
| HTableDescriptor[] | HBaseAdmin. deleteTables(Pattern pattern)Delete tables matching the passed in pattern and wait on completion. | 
| HTableDescriptor[] | HBaseAdmin. deleteTables(String regex)Deletes tables matching the passed in pattern and wait on completion. | 
| HTableDescriptor[] | HBaseAdmin. disableTables(Pattern pattern)Disable tables matching the passed in pattern and wait on completion. | 
| HTableDescriptor[] | HBaseAdmin. disableTables(String regex)Disable tables matching the passed in pattern and wait on completion. | 
| HTableDescriptor[] | HBaseAdmin. enableTables(Pattern pattern)Enable tables matching the passed in pattern and wait on completion. | 
| HTableDescriptor[] | HBaseAdmin. enableTables(String regex)Enable tables matching the passed in pattern and wait on completion. | 
| HTableDescriptor | HConnection. getHTableDescriptor(byte[] tableName)Deprecated.  | 
| HTableDescriptor | HConnection. getHTableDescriptor(TableName tableName) | 
| HTableDescriptor[] | HConnection. getHTableDescriptors(List<String> tableNames)Deprecated.  | 
| HTableDescriptor[] | HConnection. getHTableDescriptorsByTableName(List<TableName> tableNames) | 
| HTableDescriptor | HTableInterface. getTableDescriptor()Gets the  table descriptorfor this table. | 
| HTableDescriptor | HTable. getTableDescriptor()Gets the  table descriptorfor this table. | 
| HTableDescriptor | HBaseAdmin. getTableDescriptor(byte[] tableName) | 
| HTableDescriptor | HBaseAdmin. getTableDescriptor(TableName tableName)Method for getting the tableDescriptor | 
| HTableDescriptor[] | HBaseAdmin. getTableDescriptors(List<String> names)Get tableDescriptors | 
| HTableDescriptor[] | HBaseAdmin. getTableDescriptorsByTableName(List<TableName> tableNames)Get tableDescriptors | 
| HTableDescriptor[] | HBaseAdmin. listTableDescriptorsByNamespace(String name)Get list of table descriptors by namespace | 
| HTableDescriptor[] | HBaseAdmin. listTables()List all the userspace tables. | 
| HTableDescriptor[] | HConnection. listTables()List all the userspace tables. | 
| HTableDescriptor[] | HBaseAdmin. listTables(Pattern pattern)List all the userspace tables matching the given pattern. | 
| HTableDescriptor[] | HBaseAdmin. listTables(String regex)List all the userspace tables matching the given regular expression. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HBaseAdmin. createTable(HTableDescriptor desc)Creates a new table. | 
| void | HBaseAdmin. createTable(HTableDescriptor desc,
           byte[][] splitKeys)Creates a new table with an initial set of empty regions defined by the
 specified split keys. | 
| void | HBaseAdmin. createTable(HTableDescriptor desc,
           byte[] startKey,
           byte[] endKey,
           int numRegions)Creates a new table with the specified number of regions. | 
| void | HBaseAdmin. createTableAsync(HTableDescriptor desc,
                byte[][] splitKeys)Creates a new table but does not block and wait for it to come online. | 
| void | HBaseAdmin. modifyTable(byte[] tableName,
           HTableDescriptor htd) | 
| void | HBaseAdmin. modifyTable(String tableName,
           HTableDescriptor htd) | 
| void | HBaseAdmin. modifyTable(TableName tableName,
           HTableDescriptor htd)Modify an existing table, more IRB friendly version. | 
| Modifier and Type | Method and Description | 
|---|---|
| static HTableDescriptor[] | ProtobufUtil. getHTableDescriptorArray(MasterProtos.GetTableDescriptorsResponse proto)Get HTableDescriptor[] from GetTableDescriptorsResponse protobuf | 
| Modifier and Type | Method and Description | 
|---|---|
| static MasterProtos.CreateTableRequest | RequestConverter. buildCreateTableRequest(HTableDescriptor hTableDesc,
                       byte[][] splitKeys)Creates a protocol buffer CreateTableRequest | 
| static MasterProtos.ModifyTableRequest | RequestConverter. buildModifyTableRequest(TableName tableName,
                       HTableDescriptor hTableDesc)Creates a protocol buffer ModifyTableRequest | 
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.