Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.rsgroup | |
org.apache.hadoop.hbase.trace | |
org.apache.hadoop.hbase.util |
Modifier and Type | Field and Description |
---|---|
static TableName |
HConstants.ENSEMBLE_TABLE_NAME
The name of the ensemble table
|
static TableName |
TableName.META_TABLE_NAME
The hbase:meta table's name.
|
static TableName |
TableName.NAMESPACE_TABLE_NAME
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.
|
static TableName |
TableName.OLD_META_TABLE_NAME
TableName for old .META.
|
static TableName |
TableName.OLD_ROOT_TABLE_NAME
TableName for old -ROOT- table.
|
Modifier and Type | Method and Description |
---|---|
static TableName |
TableName.valueOf(byte[] fullName) |
static TableName |
TableName.valueOf(byte[] namespace,
byte[] qualifier) |
static TableName |
TableName.valueOf(byte[] fullName,
int offset,
int length) |
static TableName |
TableName.valueOf(ByteBuffer fullname) |
static TableName |
TableName.valueOf(ByteBuffer namespace,
ByteBuffer qualifier) |
static TableName |
TableName.valueOf(String name) |
static TableName |
TableName.valueOf(String namespaceAsString,
String qualifierAsString) |
Modifier and Type | Method and Description |
---|---|
int |
TableName.compareTo(TableName tableName)
For performance reasons, the ordering is not lexicographic.
|
static CellComparator |
CellComparatorImpl.getCellComparator(TableName tableName)
Utility method that makes a guess at comparator to use based off passed tableName.
|
static boolean |
TableName.isMetaTableName(TableName tn) |
Modifier and Type | Method and Description |
---|---|
SortedSet<TableName> |
RSGroupInfo.getTables()
Deprecated.
Since 3.0.0, will be removed in 4.0.0. The rsgroup information will be stored in
the configuration of a table so this will be removed.
|
Modifier and Type | Method and Description |
---|---|
void |
RSGroupInfo.addTable(TableName table)
Deprecated.
Since 3.0.0, will be removed in 4.0.0. The rsgroup information will be stored in
the configuration of a table so this will be removed.
|
boolean |
RSGroupInfo.containsTable(TableName table)
Deprecated.
Since 3.0.0, will be removed in 4.0.0. The rsgroup information will be stored in
the configuration of a table so this will be removed.
|
boolean |
RSGroupInfo.removeTable(TableName table)
Deprecated.
Since 3.0.0, will be removed in 4.0.0. The rsgroup information will be stored in
the configuration of a table so this will be removed.
|
Modifier and Type | Method and Description |
---|---|
void |
RSGroupInfo.addAllTables(Collection<TableName> arg)
Deprecated.
Since 3.0.0, will be removed in 4.0.0. The rsgroup information will be stored in
the configuration of a table so this will be removed.
|
Modifier and Type | Method and Description |
---|---|
static io.opentelemetry.api.trace.Span |
TraceUtil.createTableSpan(String spanName,
TableName tableName)
Create a
SpanKind.INTERNAL span and set table related attributes. |
static <T> CompletableFuture<T> |
TraceUtil.tracedFuture(Supplier<CompletableFuture<T>> action,
String spanName,
TableName tableName)
Trace an asynchronous operation for a table.
|
static <T> List<CompletableFuture<T>> |
TraceUtil.tracedFutures(Supplier<List<CompletableFuture<T>>> action,
String spanName,
TableName tableName)
Trace an asynchronous operation, and finish the create
Span when all the given
futures are completed. |
Modifier and Type | Method and Description |
---|---|
static TableName |
CommonFSUtils.getTableName(org.apache.hadoop.fs.Path tablePath)
Returns the
TableName object representing
the table directory under
path rootdir |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.fs.Path |
CommonFSUtils.getRegionDir(org.apache.hadoop.fs.Path rootdir,
TableName tableName,
String regionName)
Returns the
Path object representing the region directory under
path rootdir |
static org.apache.hadoop.fs.Path |
CommonFSUtils.getTableDir(org.apache.hadoop.fs.Path rootdir,
TableName tableName)
Returns the
Path object representing the table directory under
path rootdir |
static org.apache.hadoop.fs.Path |
CommonFSUtils.getWALRegionDir(org.apache.hadoop.conf.Configuration conf,
TableName tableName,
String encodedRegionName)
Returns the WAL region directory based on the given table name and region name
|
static org.apache.hadoop.fs.Path |
CommonFSUtils.getWALTableDir(org.apache.hadoop.conf.Configuration conf,
TableName tableName)
Returns the Table directory under the WALRootDir for the specified table name
|
static org.apache.hadoop.fs.Path |
CommonFSUtils.getWrongWALRegionDir(org.apache.hadoop.conf.Configuration conf,
TableName tableName,
String encodedRegionName)
Deprecated.
For compatibility, will be removed in 4.0.0.
|
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.