Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.shaded.protobuf |
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 | Class and Description |
---|---|
class |
ImmutableHTableDescriptor
Deprecated.
|
static class |
TableDescriptorBuilder.ModifyableTableDescriptor
TODO: make this private after removing the HTableDescriptor
|
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 |
HTable.getDescriptor() |
TableDescriptor |
HBaseAdmin.getDescriptor(TableName tableName) |
TableDescriptor |
Admin.getDescriptor(TableName tableName)
Get a table descriptor.
|
protected TableDescriptor |
HBaseAdmin.TableFuture.getTableDescriptor() |
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> |
AsyncAdmin.getDescriptor(TableName tableName)
Method for getting the tableDescriptor
|
List<TableDescriptor> |
HBaseAdmin.listTableDescriptors() |
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> |
HBaseAdmin.listTableDescriptors(List<TableName> tableNames) |
List<TableDescriptor> |
Admin.listTableDescriptors(List<TableName> tableNames)
Get tableDescriptors.
|
List<TableDescriptor> |
HBaseAdmin.listTableDescriptors(Pattern pattern) |
List<TableDescriptor> |
Admin.listTableDescriptors(Pattern pattern)
List all the userspace tables that match the given pattern.
|
List<TableDescriptor> |
HBaseAdmin.listTableDescriptors(Pattern pattern,
boolean includeSysTables) |
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> |
HBaseAdmin.listTableDescriptorsByNamespace(byte[] name) |
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 List<RegionInfo> |
RegionReplicaUtil.addReplicas(TableDescriptor tableDescriptor,
List<RegionInfo> regions,
int oldReplicaCount,
int newReplicaCount)
Create any replicas for the regions (the default replicas that was already created is passed to
the method)
|
static TableDescriptor |
TableDescriptorBuilder.copy(TableDescriptor desc) |
static TableDescriptor |
TableDescriptorBuilder.copy(TableName name,
TableDescriptor desc) |
void |
HBaseAdmin.createTable(TableDescriptor desc) |
CompletableFuture<Void> |
AsyncAdmin.createTable(TableDescriptor desc)
Creates a new table.
|
void |
Admin.createTable(TableDescriptor desc)
Creates a new table.
|
void |
HBaseAdmin.createTable(TableDescriptor desc,
byte[][] splitKeys) |
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.
|
void |
Admin.createTable(TableDescriptor desc,
byte[][] splitKeys)
Creates a new table with an initial set of empty regions defined by the specified split keys.
|
void |
HBaseAdmin.createTable(TableDescriptor desc,
byte[] startKey,
byte[] endKey,
int numRegions) |
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> |
HBaseAdmin.createTableAsync(TableDescriptor desc,
byte[][] splitKeys) |
Future<Void> |
Admin.createTableAsync(TableDescriptor desc,
byte[][] splitKeys)
Creates a new table but does not block and wait for it to come online.
|
void |
HBaseAdmin.modifyTable(TableDescriptor td) |
CompletableFuture<Void> |
AsyncAdmin.modifyTable(TableDescriptor desc)
Modify an existing table, more IRB friendly version.
|
void |
Admin.modifyTable(TableDescriptor td)
Modify an existing table, more IRB friendly version.
|
void |
HBaseAdmin.modifyTable(TableName tableName,
TableDescriptor td) |
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> |
HBaseAdmin.modifyTableAsync(TableDescriptor td) |
Future<Void> |
Admin.modifyTableAsync(TableDescriptor td)
Modify an existing table, more IRB (ruby) friendly version.
|
Future<Void> |
HBaseAdmin.modifyTableAsync(TableName tableName,
TableDescriptor td) |
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) |
Constructor and Description |
---|
ImmutableHTableDescriptor(TableDescriptor desc)
Deprecated.
|
ModifyableTableDescriptor(TableName name,
TableDescriptor desc)
Deprecated.
|
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–2018 The Apache Software Foundation. All rights reserved.