Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.shaded.protobuf |
Modifier and Type | Field and Description |
---|---|
static HTableDescriptor |
HTableDescriptor.NAMESPACE_TABLEDESC
Deprecated.
Table descriptor for namespace table
|
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
HTableDescriptor.addCoprocessor(String className)
Deprecated.
Add a table coprocessor to this table.
|
HTableDescriptor |
HTableDescriptor.addCoprocessor(String className,
org.apache.hadoop.fs.Path jarFilePath,
int priority,
Map<String,String> kvs)
Deprecated.
Add a table coprocessor to this table.
|
HTableDescriptor |
HTableDescriptor.addCoprocessorWithSpec(String specStr)
Deprecated.
Add a table coprocessor to this table.
|
HTableDescriptor |
HTableDescriptor.addFamily(HColumnDescriptor family)
Deprecated.
Adds a column family.
|
HTableDescriptor |
HTableDescriptor.modifyFamily(HColumnDescriptor family)
Deprecated.
Modifies the existing column family.
|
static HTableDescriptor |
HTableDescriptor.parseFrom(byte[] bytes)
Deprecated.
|
HTableDescriptor |
HTableDescriptor.setCompactionEnabled(boolean isEnable)
Deprecated.
Setting the table compaction enable flag.
|
HTableDescriptor |
HTableDescriptor.setConfiguration(String key,
String value)
Deprecated.
Setter for storing a configuration setting in map.
|
HTableDescriptor |
HTableDescriptor.setDurability(Durability durability)
Deprecated.
Sets the
Durability setting for the table. |
HTableDescriptor |
HTableDescriptor.setFlushPolicyClassName(String clazz)
Deprecated.
This sets the class associated with the flush policy which determines determines the stores
need to be flushed when flushing a region.
|
HTableDescriptor |
HTableDescriptor.setMaxFileSize(long maxFileSize)
Deprecated.
Sets the maximum size upto which a region can grow to after which a region
split is triggered.
|
HTableDescriptor |
HTableDescriptor.setMemStoreFlushSize(long memstoreFlushSize)
Deprecated.
Represents the maximum size of the memstore after which the contents of the
memstore are flushed to the filesystem.
|
HTableDescriptor |
HTableDescriptor.setNormalizationEnabled(boolean isEnable)
Deprecated.
Setting the table normalization enable flag.
|
HTableDescriptor |
HTableDescriptor.setOwner(User owner)
Deprecated.
|
HTableDescriptor |
HTableDescriptor.setOwnerString(String ownerString)
Deprecated.
|
HTableDescriptor |
HTableDescriptor.setPriority(int priority)
Deprecated.
|
HTableDescriptor |
HTableDescriptor.setReadOnly(boolean readOnly)
Deprecated.
Setting the table as read only sets all the columns in the table as read
only.
|
HTableDescriptor |
HTableDescriptor.setRegionMemstoreReplication(boolean memstoreReplication)
Deprecated.
Enable or Disable the memstore replication from the primary region to the replicas.
|
HTableDescriptor |
HTableDescriptor.setRegionReplication(int regionReplication)
Deprecated.
Sets the number of replicas per region.
|
HTableDescriptor |
HTableDescriptor.setRegionSplitPolicyClassName(String clazz)
Deprecated.
This sets the class associated with the region split policy which
determines when a region split should occur.
|
HTableDescriptor |
HTableDescriptor.setValue(byte[] key,
byte[] value)
Deprecated.
Setter for storing metadata as a (key, value) pair in map
|
HTableDescriptor |
HTableDescriptor.setValue(Bytes key,
Bytes value)
Deprecated.
|
HTableDescriptor |
HTableDescriptor.setValue(String key,
String value)
Deprecated.
Setter for storing metadata as a (key, value) pair in map
|
Modifier and Type | Method and Description |
---|---|
int |
HTableDescriptor.compareTo(HTableDescriptor other)
Deprecated.
Compares the descriptor with another descriptor which is passed as a parameter.
|
Constructor and Description |
---|
HTableDescriptor(HTableDescriptor desc)
Deprecated.
Construct a table descriptor by cloning the descriptor passed as a parameter.
|
HTableDescriptor(TableName name,
HTableDescriptor desc)
Deprecated.
Construct a table descriptor by cloning the descriptor passed as a parameter
but using a different table name.
|
Modifier and Type | Class and Description |
---|---|
class |
ImmutableHTableDescriptor
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
TableDescriptorBuilder.build() |
HTableDescriptor[] |
HBaseAdmin.deleteTables(Pattern pattern)
Delete tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
Admin.deleteTables(Pattern pattern)
Delete tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
HBaseAdmin.deleteTables(String regex) |
HTableDescriptor[] |
Admin.deleteTables(String regex)
Deletes tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
HBaseAdmin.disableTables(Pattern pattern) |
HTableDescriptor[] |
Admin.disableTables(Pattern pattern)
Disable tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
HBaseAdmin.disableTables(String regex) |
HTableDescriptor[] |
Admin.disableTables(String regex)
Disable tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
HBaseAdmin.enableTables(Pattern pattern) |
HTableDescriptor[] |
Admin.enableTables(Pattern pattern)
Enable tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
HBaseAdmin.enableTables(String regex) |
HTableDescriptor[] |
Admin.enableTables(String regex)
Enable tables matching the passed in pattern and wait on completion.
|
HTableDescriptor |
Table.getTableDescriptor()
Gets the
table descriptor for this table. |
HTableDescriptor |
HTable.getTableDescriptor()
Gets the
table descriptor for this table. |
protected HTableDescriptor |
HBaseAdmin.TableFuture.getTableDescriptor() |
HTableDescriptor |
HBaseAdmin.getTableDescriptor(TableName tableName) |
HTableDescriptor |
Admin.getTableDescriptor(TableName tableName)
Method for getting the tableDescriptor
|
HTableDescriptor[] |
HBaseAdmin.getTableDescriptors(List<String> names) |
HTableDescriptor[] |
Admin.getTableDescriptors(List<String> names)
Get tableDescriptors
|
HTableDescriptor[] |
HBaseAdmin.getTableDescriptorsByTableName(List<TableName> tableNames) |
HTableDescriptor[] |
Admin.getTableDescriptorsByTableName(List<TableName> tableNames)
Get tableDescriptors
|
HTableDescriptor[] |
HBaseAdmin.listTableDescriptorsByNamespace(String name) |
HTableDescriptor[] |
Admin.listTableDescriptorsByNamespace(String name)
Get list of table descriptors by namespace
|
HTableDescriptor[] |
HBaseAdmin.listTables() |
HTableDescriptor[] |
Admin.listTables()
List all the userspace tables.
|
HTableDescriptor[] |
HBaseAdmin.listTables(Pattern pattern) |
HTableDescriptor[] |
Admin.listTables(Pattern pattern)
List all the userspace tables matching the given pattern.
|
HTableDescriptor[] |
HBaseAdmin.listTables(Pattern pattern,
boolean includeSysTables) |
HTableDescriptor[] |
Admin.listTables(Pattern pattern,
boolean includeSysTables)
List all the tables matching the given pattern.
|
HTableDescriptor[] |
HBaseAdmin.listTables(String regex) |
HTableDescriptor[] |
Admin.listTables(String regex)
List all the userspace tables matching the given regular expression.
|
HTableDescriptor[] |
HBaseAdmin.listTables(String regex,
boolean includeSysTables) |
HTableDescriptor[] |
Admin.listTables(String regex,
boolean includeSysTables)
List all the tables matching the given pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
HBaseAdmin.createTable(HTableDescriptor desc) |
void |
Admin.createTable(HTableDescriptor desc)
Creates a new table.
|
void |
HBaseAdmin.createTable(HTableDescriptor desc,
byte[][] splitKeys) |
void |
Admin.createTable(HTableDescriptor desc,
byte[][] splitKeys)
Creates a new table with an initial set of empty regions defined by the specified split keys.
|
void |
HBaseAdmin.createTable(HTableDescriptor desc,
byte[] startKey,
byte[] endKey,
int numRegions) |
void |
Admin.createTable(HTableDescriptor desc,
byte[] startKey,
byte[] endKey,
int numRegions)
Creates a new table with the specified number of regions.
|
Future<Void> |
HBaseAdmin.createTableAsync(HTableDescriptor desc,
byte[][] splitKeys) |
Future<Void> |
Admin.createTableAsync(HTableDescriptor desc,
byte[][] splitKeys)
Creates a new table but does not block and wait for it to come online.
|
void |
HBaseAdmin.modifyTable(TableName tableName,
HTableDescriptor htd) |
void |
Admin.modifyTable(TableName tableName,
HTableDescriptor htd)
Modify an existing table, more IRB friendly version.
|
Future<Void> |
HBaseAdmin.modifyTableAsync(TableName tableName,
HTableDescriptor htd) |
Future<Void> |
Admin.modifyTableAsync(TableName tableName,
HTableDescriptor htd)
Modify an existing table, more IRB friendly version.
|
Constructor and Description |
---|
ImmutableHTableDescriptor(HTableDescriptor desc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HTableDescriptor |
ProtobufUtil.convertToHTableDesc(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema ts)
Deprecated.
Use
ProtobufUtil.convertToTableDesc(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableSchema) after removing the HTableDescriptor |
static HTableDescriptor[] |
ProtobufUtil.getHTableDescriptorArray(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetTableDescriptorsResponse proto)
Deprecated.
Use
ProtobufUtil.getTableDescriptorArray(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetTableDescriptorsResponse) after removing the HTableDescriptor |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ModifyTableRequest |
RequestConverter.buildModifyTableRequest(TableName tableName,
HTableDescriptor hTableDesc,
long nonceGroup,
long nonce)
Creates a protocol buffer ModifyTableRequest
|
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.