Uses of Class
org.apache.hadoop.hbase.HTableDescriptor
Package
Description
Provides HBase Client
Restrict the domain of a data attribute, often times to fulfill business rules/requirements.
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
HBase REST
Provides an HBase Thrift
service.
-
Uses of HTableDescriptor in org.apache.hadoop.hbase
Modifier and TypeFieldDescriptionstatic final HTableDescriptor
HTableDescriptor.NAMESPACE_TABLEDESC
Deprecated.Table descriptor for namespace tableModifier and TypeMethodDescriptionHTableDescriptor.addCoprocessor
(String className) Deprecated.Add a table coprocessor to this table.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.addCoprocessorWithSpec
(String specStr) Deprecated.Add a table coprocessor to this table.HTableDescriptor.addFamily
(HColumnDescriptor family) Deprecated.Adds a column family.HTableDescriptor.modifyFamily
(HColumnDescriptor family) Deprecated.Modifies the existing column family.static HTableDescriptor
HTableDescriptor.parseFrom
(byte[] bytes) Deprecated.Parse the serialized representation of aHTableDescriptor
HTableDescriptor.setCompactionEnabled
(boolean isEnable) Deprecated.Setting the table compaction enable flag.HTableDescriptor.setConfiguration
(String key, String value) Deprecated.Setter for storing a configuration setting in map.HTableDescriptor.setDurability
(Durability durability) Deprecated.Sets theDurability
setting for the table.HTableDescriptor.setErasureCodingPolicy
(String policy) Deprecated.Sets the HDFS erasure coding policy for the table.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.setMaxFileSize
(long maxFileSize) Deprecated.Sets the maximum size upto which a region can grow to after which a region split is triggered.HTableDescriptor.setMaxFileSize
(String maxFileSize) Deprecated.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.setMemStoreFlushSize
(String memStoreFlushSize) Deprecated.HTableDescriptor.setMergeEnabled
(boolean isEnable) Deprecated.Setting the table region merge enable flag.HTableDescriptor.setNormalizationEnabled
(boolean isEnable) Deprecated.Setting the table normalization enable flag.HTableDescriptor.setNormalizerTargetRegionCount
(int regionCount) Deprecated.HTableDescriptor.setNormalizerTargetRegionSize
(long regionSize) Deprecated.Deprecated.since 0.94.1HTableDescriptor.setOwnerString
(String ownerString) Deprecated.since 0.94.1HTableDescriptor.setPriority
(int priority) Deprecated.HTableDescriptor.setReadOnly
(boolean readOnly) Deprecated.Setting the table as read only sets all the columns in the table as read only.HTableDescriptor.setRegionMemstoreReplication
(boolean memstoreReplication) Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0.HTableDescriptor.setRegionMemStoreReplication
(boolean memstoreReplication) Deprecated.Enable or Disable the memstore replication from the primary region to the replicas.HTableDescriptor.setRegionReplication
(int regionReplication) Deprecated.Sets the number of replicas per region.HTableDescriptor.setRegionSplitPolicyClassName
(String clazz) Deprecated.This sets the class associated with the region split policy which determines when a region split should occur.HTableDescriptor.setSplitEnabled
(boolean isEnable) Deprecated.Setting the table region split enable flag.HTableDescriptor.setValue
(byte[] key, byte[] value) Deprecated.Setter for storing metadata as a (key, value) pair in mapDeprecated.Setter for storing metadata as a (key, value) pair in mapDeprecated.Modifier and TypeMethodDescriptionint
HTableDescriptor.compareTo
(HTableDescriptor other) Deprecated.Compares the descriptor with another descriptor which is passed as a parameter.ModifierConstructorDescriptionDeprecated.Construct a table descriptor by cloning the descriptor passed as a parameter.protected
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. -
Uses of HTableDescriptor in org.apache.hadoop.hbase.client
Modifier and TypeMethodDescriptionAdmin.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.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.HBaseAdmin.deleteTables
(String regex) HBaseAdmin.deleteTables
(Pattern pattern) Delete tables matching the passed in pattern and wait on completion.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.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.HBaseAdmin.disableTables
(String regex) HBaseAdmin.disableTables
(Pattern pattern) 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.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.HBaseAdmin.enableTables
(String regex) HBaseAdmin.enableTables
(Pattern pattern) (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.Admin.getTableDescriptor
(TableName tableName) Deprecated.since 2.0 version and will be removed in 3.0 version.HBaseAdmin.getTableDescriptor
(TableName tableName) HTable.getTableDescriptor()
Deprecated.default HTableDescriptor
Table.getTableDescriptor()
Deprecated.since 2.0 version and will be removed in 3.0 version.Admin.getTableDescriptors
(List<String> names) Deprecated.since 2.0 version and will be removed in 3.0 version.HBaseAdmin.getTableDescriptors
(List<String> names) Admin.getTableDescriptorsByTableName
(List<TableName> tableNames) Deprecated.since 2.0 version and will be removed in 3.0 version.HBaseAdmin.getTableDescriptorsByTableName
(List<TableName> tableNames) Admin.listTableDescriptorsByNamespace
(String name) Deprecated.since 2.0 version and will be removed in 3.0 version.HBaseAdmin.listTableDescriptorsByNamespace
(String name) Admin.listTables()
Deprecated.since 2.0 version and will be removed in 3.0 version.Admin.listTables
(String regex) Deprecated.since 2.0 version and will be removed in 3.0 version.Admin.listTables
(String regex, boolean includeSysTables) Deprecated.since 2.0 version and will be removed in 3.0 version.Admin.listTables
(Pattern pattern) Deprecated.since 2.0 version and will be removed in 3.0 version.Admin.listTables
(Pattern pattern, boolean includeSysTables) Deprecated.since 2.0 version and will be removed in 3.0 version.HBaseAdmin.listTables()
HBaseAdmin.listTables
(String regex) HBaseAdmin.listTables
(String regex, boolean includeSysTables) HBaseAdmin.listTables
(Pattern pattern) HBaseAdmin.listTables
(Pattern pattern, boolean includeSysTables) -
Uses of HTableDescriptor in org.apache.hadoop.hbase.constraint
Modifier and TypeMethodDescriptionstatic 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 aConstraint
to the table with the given configurationstatic 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 givenConstraint
.static void
Constraints.enable
(HTableDescriptor desc) Enable constraints on a table.static void
Constraints.enableConstraint
(HTableDescriptor desc, Class<? extends Constraint> clazz) Enable the givenConstraint
.static boolean
Constraints.enabled
(HTableDescriptor desc, Class<? extends Constraint> clazz) Check to see if the given constraint is enabled.Constraints.getKeyValueForClass
(HTableDescriptor desc, Class<? extends Constraint> clazz) Get the kvMap.Entry
in the descriptor for the specified classprivate 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 allConstraints
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 theConstraint
; 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 theHTableDescriptor
-
Uses of HTableDescriptor in org.apache.hadoop.hbase.mapred
ModifierConstructorDescriptionTableSnapshotRegionSplit
(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir) -
Uses of HTableDescriptor in org.apache.hadoop.hbase.mapreduce
Modifier and TypeMethodDescriptionHFileOutputFormat2.TableInfo.getHTableDescriptor()
Deprecated.since 2.0.0 and will be removed in 3.0.0.ModifierConstructorDescriptionTableSnapshotRegionSplit
(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir) -
Uses of HTableDescriptor in org.apache.hadoop.hbase.quotas
Modifier and TypeFieldDescriptionstatic final HTableDescriptor
QuotaUtil.QUOTA_TABLE_DESC
Table descriptor for Quota internal table -
Uses of HTableDescriptor in org.apache.hadoop.hbase.rest
-
Uses of HTableDescriptor in org.apache.hadoop.hbase.rest.model
Modifier and TypeMethodDescriptionTableSchemaModel.getTableDescriptor()
Returns a table descriptor -
Uses of HTableDescriptor in org.apache.hadoop.hbase.thrift2
Modifier and TypeMethodDescriptionstatic HTableDescriptor
ThriftUtilities.hTableDescriptorFromThrift
(org.apache.hadoop.hbase.thrift2.generated.TTableDescriptor in) static HTableDescriptor[]
ThriftUtilities.hTableDescriptorsFromThrift
(List<org.apache.hadoop.hbase.thrift2.generated.TTableDescriptor> in) -
Uses of HTableDescriptor in org.apache.hadoop.hbase.thrift2.client
Modifier and TypeMethodDescriptionThriftAdmin.deleteTables
(String regex) ThriftAdmin.deleteTables
(Pattern pattern) ThriftAdmin.disableTables
(String regex) ThriftAdmin.disableTables
(Pattern pattern) ThriftAdmin.enableTables
(String regex) ThriftAdmin.enableTables
(Pattern pattern) ThriftAdmin.getTableDescriptor
(TableName tableName) ThriftAdmin.getTableDescriptors
(List<String> names) ThriftAdmin.getTableDescriptorsByTableName
(List<TableName> tableNames) ThriftAdmin.listTableDescriptorsByNamespace
(String name) ThriftAdmin.listTables()
ThriftAdmin.listTables
(String regex) ThriftAdmin.listTables
(String regex, boolean includeSysTables) ThriftAdmin.listTables
(Pattern pattern) ThriftAdmin.listTables
(Pattern pattern, boolean includeSysTables)