Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.constraint |
Restrict the domain of a data attribute, often times to fulfill business rules/requirements.
|
org.apache.hadoop.hbase.mapred |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.quotas | |
org.apache.hadoop.hbase.rest |
HBase REST
|
org.apache.hadoop.hbase.rest.model | |
org.apache.hadoop.hbase.thrift2 |
Provides an HBase Thrift
service.
|
org.apache.hadoop.hbase.thrift2.client |
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.
Parse the serialized representation of a
HTableDescriptor |
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.setMaxFileSize(String maxFileSize)
Deprecated.
|
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.setMemStoreFlushSize(String memStoreFlushSize)
Deprecated.
|
HTableDescriptor |
HTableDescriptor.setMergeEnabled(boolean isEnable)
Deprecated.
Setting the table region merge enable flag.
|
HTableDescriptor |
HTableDescriptor.setNormalizationEnabled(boolean isEnable)
Deprecated.
Setting the table normalization enable flag.
|
HTableDescriptor |
HTableDescriptor.setNormalizerTargetRegionCount(int regionCount)
Deprecated.
|
HTableDescriptor |
HTableDescriptor.setNormalizerTargetRegionSize(long regionSize)
Deprecated.
|
HTableDescriptor |
HTableDescriptor.setOwner(User owner)
Deprecated.
since 0.94.1
|
HTableDescriptor |
HTableDescriptor.setOwnerString(String ownerString)
Deprecated.
since 0.94.1
|
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.
As of release 2.0.0, this will be removed in HBase 3.0.0. Use
setRegionMemStoreReplication(boolean) instead |
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.setSplitEnabled(boolean isEnable)
Deprecated.
Setting the table region split enable flag.
|
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(HTableDescriptor desc,
boolean deepClone)
Deprecated.
|
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[] |
Admin.deleteTables(Pattern pattern)
Deprecated.
since 2.0 version and will be removed in 3.0 version This is just a trivial helper
method without any magic. Consider using
Admin.listTableDescriptors(java.util.regex.Pattern) and
Admin.deleteTable(TableName) |
HTableDescriptor[] |
HBaseAdmin.deleteTables(Pattern pattern)
Delete tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
Admin.deleteTables(String regex)
Deprecated.
since 2.0 version and will be removed in 3.0 version This is just a trivial helper
method without any magic. Consider using
Admin.listTableDescriptors(Pattern) and
Admin.deleteTable(TableName) |
HTableDescriptor[] |
HBaseAdmin.deleteTables(String regex) |
HTableDescriptor[] |
Admin.disableTables(Pattern pattern)
Deprecated.
since 2.0 version and will be removed in 3.0 version This is just a trivial helper
method without any magic. Consider using
Admin.listTableDescriptors(java.util.regex.Pattern) and
Admin.disableTable(org.apache.hadoop.hbase.TableName) |
HTableDescriptor[] |
HBaseAdmin.disableTables(Pattern pattern) |
HTableDescriptor[] |
Admin.disableTables(String regex)
Deprecated.
since 2.0 version and will be removed in 3.0 version This is just a trivial helper
method without any magic. Consider using
Admin.listTableDescriptors(Pattern) and
Admin.disableTable(org.apache.hadoop.hbase.TableName) |
HTableDescriptor[] |
HBaseAdmin.disableTables(String regex) |
HTableDescriptor[] |
Admin.enableTables(Pattern pattern)
Deprecated.
since 2.0 version and will be removed in 3.0 version This is just a trivial helper
method without any magic. Consider using
Admin.listTableDescriptors(java.util.regex.Pattern) and
Admin.enableTable(org.apache.hadoop.hbase.TableName) |
HTableDescriptor[] |
HBaseAdmin.enableTables(Pattern pattern) |
HTableDescriptor[] |
Admin.enableTables(String regex)
Deprecated.
since 2.0 version and will be removed in 3.0 version This is just a trivial helper
method without any magic. Consider using
Admin.listTableDescriptors(Pattern) and
Admin.enableTable(org.apache.hadoop.hbase.TableName) |
HTableDescriptor[] |
HBaseAdmin.enableTables(String regex) |
(package private) static HTableDescriptor |
HBaseAdmin.getHTableDescriptor(TableName tableName,
Connection connection,
RpcRetryingCallerFactory rpcCallerFactory,
RpcControllerFactory rpcControllerFactory,
int operationTimeout,
int rpcTimeout)
Deprecated.
since 2.0 version and will be removed in 3.0 version. use
HBaseAdmin.getTableDescriptor(TableName, Connection, RpcRetryingCallerFactory,RpcControllerFactory,int,int) |
HTableDescriptor |
HTable.getTableDescriptor()
Deprecated.
|
default HTableDescriptor |
Table.getTableDescriptor()
Deprecated.
since 2.0 version and will be removed in 3.0 version. use
Table.getDescriptor() |
HTableDescriptor |
Admin.getTableDescriptor(TableName tableName)
Deprecated.
since 2.0 version and will be removed in 3.0 version. Use
Admin.getDescriptor(TableName) . |
HTableDescriptor |
HBaseAdmin.getTableDescriptor(TableName tableName) |
HTableDescriptor[] |
Admin.getTableDescriptors(List<String> names)
Deprecated.
since 2.0 version and will be removed in 3.0 version. use
Admin.listTableDescriptors(List) |
HTableDescriptor[] |
HBaseAdmin.getTableDescriptors(List<String> names) |
HTableDescriptor[] |
Admin.getTableDescriptorsByTableName(List<TableName> tableNames)
Deprecated.
since 2.0 version and will be removed in 3.0 version. use
Admin.listTableDescriptors(List) |
HTableDescriptor[] |
HBaseAdmin.getTableDescriptorsByTableName(List<TableName> tableNames) |
HTableDescriptor[] |
Admin.listTableDescriptorsByNamespace(String name)
Deprecated.
since 2.0 version and will be removed in 3.0 version. use
Admin.listTableDescriptorsByNamespace(byte[]) |
HTableDescriptor[] |
HBaseAdmin.listTableDescriptorsByNamespace(String name) |
HTableDescriptor[] |
Admin.listTables()
Deprecated.
since 2.0 version and will be removed in 3.0 version. Use
Admin.listTableDescriptors() . |
HTableDescriptor[] |
HBaseAdmin.listTables() |
HTableDescriptor[] |
Admin.listTables(Pattern pattern)
Deprecated.
since 2.0 version and will be removed in 3.0 version. Use
Admin.listTableDescriptors(java.util.regex.Pattern) . |
HTableDescriptor[] |
HBaseAdmin.listTables(Pattern pattern) |
HTableDescriptor[] |
Admin.listTables(Pattern pattern,
boolean includeSysTables)
Deprecated.
since 2.0 version and will be removed in 3.0 version. Use
Admin.listTableDescriptors(java.util.regex.Pattern, boolean) . |
HTableDescriptor[] |
HBaseAdmin.listTables(Pattern pattern,
boolean includeSysTables) |
HTableDescriptor[] |
Admin.listTables(String regex)
Deprecated.
since 2.0 version and will be removed in 3.0 version. Use
Admin.listTableDescriptors(Pattern) instead. |
HTableDescriptor[] |
HBaseAdmin.listTables(String regex) |
HTableDescriptor[] |
Admin.listTables(String regex,
boolean includeSysTables)
Deprecated.
since 2.0 version and will be removed in 3.0 version. Use
Admin.listTableDescriptors(Pattern, boolean) . |
HTableDescriptor[] |
HBaseAdmin.listTables(String regex,
boolean includeSysTables) |
Constructor and Description |
---|
ImmutableHTableDescriptor(HTableDescriptor desc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
Constraints.add(HTableDescriptor desc,
Class<? extends Constraint>... constraints)
Add configuration-less constraints to the table.
|
static void |
Constraints.add(HTableDescriptor desc,
Class<? extends Constraint> constraint,
org.apache.hadoop.conf.Configuration conf)
Add a
Constraint to the table with the given configuration |
static void |
Constraints.add(HTableDescriptor desc,
Pair<Class<? extends Constraint>,org.apache.hadoop.conf.Configuration>... constraints)
Add constraints and their associated configurations to the table.
|
private static void |
Constraints.addConstraint(HTableDescriptor desc,
Class<? extends Constraint> clazz,
org.apache.hadoop.conf.Configuration conf,
long priority)
Write the raw constraint and configuration to the descriptor.
|
private static void |
Constraints.changeConstraintEnabled(HTableDescriptor desc,
Class<? extends Constraint> clazz,
boolean enabled)
Change the whether the constraint (if it is already present) is enabled or disabled.
|
static void |
Constraints.disable(HTableDescriptor desc)
Turn off processing constraints for a given table, even if constraints have been turned on or
added.
|
static void |
Constraints.disableConstraint(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Disable the given
Constraint . |
static void |
Constraints.enable(HTableDescriptor desc)
Enable constraints on a table.
|
static void |
Constraints.enableConstraint(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Enable the given
Constraint . |
static boolean |
Constraints.enabled(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Check to see if the given constraint is enabled.
|
private static Pair<String,String> |
Constraints.getKeyValueForClass(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Get the kv
Map.Entry in the descriptor for the specified class |
private static long |
Constraints.getNextPriority(HTableDescriptor desc) |
static boolean |
Constraints.has(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Check to see if the Constraint is currently set.
|
static void |
Constraints.remove(HTableDescriptor desc)
Remove all
Constraints that have been added to the table and turn off the
constraint processing. |
static void |
Constraints.remove(HTableDescriptor desc,
Class<? extends Constraint> clazz)
Remove the constraint (and associated information) for the table descriptor.
|
static void |
Constraints.setConfiguration(HTableDescriptor desc,
Class<? extends Constraint> clazz,
org.apache.hadoop.conf.Configuration configuration)
Update the configuration for the
Constraint ; does not change the order in which the
constraint is run. |
private static void |
Constraints.updateLatestPriority(HTableDescriptor desc,
long priority) |
private static void |
Constraints.writeConstraint(HTableDescriptor desc,
String key,
org.apache.hadoop.conf.Configuration conf)
Write the given key and associated configuration to the
HTableDescriptor |
Constructor and Description |
---|
TableSnapshotRegionSplit(HTableDescriptor htd,
HRegionInfo regionInfo,
List<String> locations,
Scan scan,
org.apache.hadoop.fs.Path restoreDir) |
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
HFileOutputFormat2.TableInfo.getHTableDescriptor()
Deprecated.
since 2.0.0 and will be removed in 3.0.0. Use
HFileOutputFormat2.TableInfo.getTableDescriptor()
instead. |
Constructor and Description |
---|
TableSnapshotRegionSplit(HTableDescriptor htd,
HRegionInfo regionInfo,
List<String> locations,
Scan scan,
org.apache.hadoop.fs.Path restoreDir) |
Modifier and Type | Field and Description |
---|---|
static HTableDescriptor |
QuotaUtil.QUOTA_TABLE_DESC
Table descriptor for Quota internal table
|
Modifier and Type | Method and Description |
---|---|
private HTableDescriptor |
SchemaResource.getTableSchema() |
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
TableSchemaModel.getTableDescriptor()
Returns a table descriptor
|
Constructor and Description |
---|
TableSchemaModel(HTableDescriptor htd)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static HTableDescriptor |
ThriftUtilities.hTableDescriptorFromThrift(org.apache.hadoop.hbase.thrift2.generated.TTableDescriptor in) |
static HTableDescriptor[] |
ThriftUtilities.hTableDescriptorsFromThrift(List<org.apache.hadoop.hbase.thrift2.generated.TTableDescriptor> in) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.