Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
Modifier and Type | Class and Description |
---|---|
class |
HColumnDescriptor
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ColumnFamilyDescriptor |
HTableDescriptor.getColumnFamily(byte[] name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected HColumnDescriptor |
HTableDescriptor.toHColumnDescriptor(ColumnFamilyDescriptor desc)
Deprecated.
Return a HColumnDescriptor for user to keep the compatibility as much as possible.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<ColumnFamilyDescriptor> |
ColumnFamilyDescriptor.COMPARATOR |
static Comparator<ColumnFamilyDescriptor> |
ColumnFamilyDescriptor.COMPARATOR_IGNORE_REPLICATION |
Modifier and Type | Method and Description |
---|---|
ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.build() |
static ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.copy(ColumnFamilyDescriptor desc) |
ColumnFamilyDescriptor[] |
TableDescriptor.getColumnFamilies()
Returns an unmodifiable collection of all the
ColumnFamilyDescriptor of all the column
families of the table. |
ColumnFamilyDescriptor |
TableDescriptor.getColumnFamily(byte[] name)
Returns the ColumnDescriptor for a specific column family with name as specified by the
parameter column.
|
static ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.of(byte[] name) |
static ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.of(String name) |
static ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.parseFrom(byte[] pbBytes) |
Modifier and Type | Method and Description |
---|---|
default void |
Admin.addColumn(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Deprecated.
As of release 2.0.0. This will be removed in HBase 3.0.0. Use
Admin.addColumnFamily(TableName, ColumnFamilyDescriptor) . |
TableDescriptorBuilder |
TableDescriptorBuilder.addColumnFamily(ColumnFamilyDescriptor family)
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0. Use
TableDescriptorBuilder.setColumnFamily(ColumnFamilyDescriptor) instead |
CompletableFuture<Void> |
AsyncAdmin.addColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Add a column family to an existing table.
|
default void |
Admin.addColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Add a column family to an existing table.
|
Future<Void> |
Admin.addColumnFamilyAsync(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Add a column family to an existing table.
|
static ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.copy(ColumnFamilyDescriptor desc) |
default void |
Admin.modifyColumn(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Deprecated.
As of release 2.0.0. This will be removed in HBase 3.0.0. Use
Admin.modifyColumnFamily(TableName, ColumnFamilyDescriptor) . |
TableDescriptorBuilder |
TableDescriptorBuilder.modifyColumnFamily(ColumnFamilyDescriptor family) |
CompletableFuture<Void> |
AsyncAdmin.modifyColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Modify an existing column family on a table.
|
default void |
Admin.modifyColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Modify an existing column family on a table.
|
Future<Void> |
Admin.modifyColumnFamilyAsync(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Modify an existing column family on a table.
|
static ColumnFamilyDescriptorBuilder |
ColumnFamilyDescriptorBuilder.newBuilder(ColumnFamilyDescriptor desc) |
TableDescriptorBuilder |
TableDescriptorBuilder.setColumnFamily(ColumnFamilyDescriptor family) |
static byte[] |
ColumnFamilyDescriptorBuilder.toByteArray(ColumnFamilyDescriptor desc)
Serialize the table descriptor to a byte array.
|
Modifier and Type | Method and Description |
---|---|
static Comparator<TableDescriptor> |
TableDescriptor.getComparator(Comparator<ColumnFamilyDescriptor> cfComparator) |
TableDescriptorBuilder |
TableDescriptorBuilder.setColumnFamilies(Collection<ColumnFamilyDescriptor> families) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.