Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
Modifier and Type | Class and Description |
---|---|
class |
HTableDescriptor
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0.
Use
TableDescriptorBuilder to build HTableDescriptor . |
Constructor and Description |
---|
HTableDescriptor(TableDescriptor desc)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static TableDescriptor |
TableDescriptorBuilder.NAMESPACE_TABLEDESC
Table 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 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.
|
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 org.apache.hadoop.hbase.client.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.
|
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> |
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) |
Modifier and Type | Method and Description |
---|---|
static void |
HFileOutputFormat2.configureIncrementalLoad(org.apache.hadoop.mapreduce.Job job,
TableDescriptor tableDescriptor,
RegionLocator regionLocator)
Configure a MapReduce Job to perform an incremental load into the given
table.
|
static void |
HFileOutputFormat2.configureIncrementalLoadMap(org.apache.hadoop.mapreduce.Job job,
TableDescriptor tableDescriptor) |
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.