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 | Method and Description |
---|---|
TableDescriptor |
HBaseTestingUtility.createTableDescriptor(TableName name)
Deprecated.
Create a table of name
name . |
TableDescriptor |
HBaseTestingUtility.createTableDescriptor(TableName tableName,
byte[] family)
Deprecated.
|
TableDescriptor |
HBaseTestingUtility.createTableDescriptor(TableName tableName,
byte[][] families,
int maxVersions)
Deprecated.
|
TableDescriptor |
HBaseTestingUtility.createTableDescriptor(TableName name,
int minVersions,
int versions,
int ttl,
KeepDeletedCells keepDeleted)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.regionserver.HRegion |
HBaseTestingUtility.createLocalHRegion(RegionInfo info,
org.apache.hadoop.conf.Configuration conf,
TableDescriptor desc,
org.apache.hadoop.hbase.wal.WAL wal)
Deprecated.
Create an HRegion that writes to the local tmp dirs with specified wal
|
org.apache.hadoop.hbase.regionserver.HRegion |
HBaseTestingUtility.createLocalHRegion(RegionInfo info,
TableDescriptor desc)
Deprecated.
Create an HRegion that writes to the local tmp dirs.
|
org.apache.hadoop.hbase.regionserver.HRegion |
HBaseTestingUtility.createLocalHRegion(TableDescriptor desc,
byte[] startKey,
byte[] endKey)
Deprecated.
Create an HRegion that writes to the local tmp dirs
|
List<RegionInfo> |
HBaseTestingUtility.createMultiRegionsInMeta(org.apache.hadoop.conf.Configuration conf,
TableDescriptor htd,
byte[][] startKeys)
Deprecated.
Create rows in hbase:meta for regions of the specified table with the specified start keys.
|
static int |
HBaseTestingUtility.createPreSplitLoadTestTable(org.apache.hadoop.conf.Configuration conf,
TableDescriptor desc,
ColumnFamilyDescriptor hcd)
Deprecated.
Creates a pre-split table for load testing.
|
static int |
HBaseTestingUtility.createPreSplitLoadTestTable(org.apache.hadoop.conf.Configuration conf,
TableDescriptor desc,
ColumnFamilyDescriptor[] hcds,
int numRegionsPerServer)
Deprecated.
Creates a pre-split table for load testing.
|
static int |
HBaseTestingUtility.createPreSplitLoadTestTable(org.apache.hadoop.conf.Configuration conf,
TableDescriptor td,
ColumnFamilyDescriptor[] cds,
org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm splitter,
int numRegionsPerServer)
Deprecated.
Creates a pre-split table for load testing.
|
static int |
HBaseTestingUtility.createPreSplitLoadTestTable(org.apache.hadoop.conf.Configuration conf,
TableDescriptor desc,
ColumnFamilyDescriptor hcd,
int numRegionsPerServer)
Deprecated.
Creates a pre-split table for load testing.
|
static org.apache.hadoop.hbase.regionserver.HRegion |
HBaseTestingUtility.createRegionAndWAL(RegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
TableDescriptor htd)
Deprecated.
Create a region with it's own WAL.
|
static org.apache.hadoop.hbase.regionserver.HRegion |
HBaseTestingUtility.createRegionAndWAL(RegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
TableDescriptor htd,
org.apache.hadoop.hbase.io.hfile.BlockCache blockCache)
Deprecated.
Create a region with it's own WAL.
|
static org.apache.hadoop.hbase.regionserver.HRegion |
HBaseTestingUtility.createRegionAndWAL(RegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
TableDescriptor htd,
boolean initialize)
Deprecated.
Create a region with it's own WAL.
|
static org.apache.hadoop.hbase.regionserver.HRegion |
HBaseTestingUtility.createRegionAndWAL(RegionInfo info,
org.apache.hadoop.fs.Path rootDir,
org.apache.hadoop.conf.Configuration conf,
TableDescriptor htd,
org.apache.hadoop.hbase.mob.MobFileCache mobFileCache)
Deprecated.
Create a region with it's own WAL.
|
Table |
HBaseTestingUtility.createTable(TableDescriptor htd,
byte[][] splitRows)
Deprecated.
Create a table.
|
Table |
HBaseTestingUtility.createTable(TableDescriptor htd,
byte[][] families,
byte[][] splitKeys,
BloomType type,
int blockSize,
org.apache.hadoop.conf.Configuration c)
Deprecated.
Create a table.
|
Table |
HBaseTestingUtility.createTable(TableDescriptor htd,
byte[][] families,
byte[][] splitKeys,
org.apache.hadoop.conf.Configuration c)
Deprecated.
Create a table.
|
Table |
HBaseTestingUtility.createTable(TableDescriptor htd,
byte[][] families,
org.apache.hadoop.conf.Configuration c)
Deprecated.
Create a table.
|
static void |
HBaseTestingUtility.modifyTableSync(Admin admin,
TableDescriptor desc)
Deprecated.
since 3.0.0 and will be removed in 4.0.0. Just use
Admin.modifyTable(TableDescriptor) directly as it is synchronous now. |
void |
HBaseTestingUtility.verifyTableDescriptorIgnoreTableName(TableDescriptor ltd,
TableDescriptor rtd)
Deprecated.
|
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.
|
CompletableFuture<List<TableDescriptor>> |
AsyncAdmin.listTableDescriptorsByState(boolean isEnabled)
List all enabled or disabled table descriptors
|
List<TableDescriptor> |
Admin.listTableDescriptorsByState(boolean isEnabled)
List all enabled or disabled tables
|
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.
|
default 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.
|
CompletableFuture<Void> |
AsyncAdmin.modifyTable(TableDescriptor desc,
boolean reopenRegions)
Modify an existing table, more IRB friendly version.
|
default Future<Void> |
Admin.modifyTableAsync(TableDescriptor td)
Modify an existing table, more IRB (ruby) friendly version.
|
Future<Void> |
Admin.modifyTableAsync(TableDescriptor td,
boolean reopenRegions)
The same as
Admin.modifyTableAsync(TableDescriptor td) , except for the reopenRegions
parameter, which controls whether the process of modifying the table should reopen all regions. |
static TableDescriptorBuilder |
TableDescriptorBuilder.newBuilder(TableDescriptor desc)
Copy all values, families, and name from the input.
|
static byte[] |
TableDescriptorBuilder.toByteArray(TableDescriptor desc)
Returns This instance serialized with pb with pb magic prefix
|
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–2020 The Apache Software Foundation. All rights reserved.