Uses of Class
org.apache.hadoop.hbase.HTableDescriptor
Packages that use 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
Fields in org.apache.hadoop.hbase declared as HTableDescriptorModifier and TypeFieldDescriptionstatic final HTableDescriptorHTableDescriptor.NAMESPACE_TABLEDESCDeprecated.Table descriptor for namespace tableMethods in org.apache.hadoop.hbase that return HTableDescriptorModifier 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 HTableDescriptorHTableDescriptor.parseFrom(byte[] bytes) Deprecated.Parse the serialized representation of aHTableDescriptorHTableDescriptor.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 theDurabilitysetting 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.Methods in org.apache.hadoop.hbase with parameters of type HTableDescriptorModifier and TypeMethodDescriptionintHTableDescriptor.compareTo(HTableDescriptor other) Deprecated.Compares the descriptor with another descriptor which is passed as a parameter.Constructors in org.apache.hadoop.hbase with parameters of type HTableDescriptorModifierConstructorDescriptionDeprecated.Construct a table descriptor by cloning the descriptor passed as a parameter.protectedHTableDescriptor(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
Subclasses of HTableDescriptor in org.apache.hadoop.hbase.clientMethods in org.apache.hadoop.hbase.client that return HTableDescriptorModifier 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 HTableDescriptorHBaseAdmin.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 HTableDescriptorTable.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) Constructors in org.apache.hadoop.hbase.client with parameters of type HTableDescriptor -
Uses of HTableDescriptor in org.apache.hadoop.hbase.constraint
Methods in org.apache.hadoop.hbase.constraint with parameters of type HTableDescriptorModifier and TypeMethodDescriptionstatic voidConstraints.add(HTableDescriptor desc, Class<? extends Constraint>... constraints) Add configuration-less constraints to the table.static voidConstraints.add(HTableDescriptor desc, Class<? extends Constraint> constraint, org.apache.hadoop.conf.Configuration conf) Add aConstraintto the table with the given configurationstatic voidConstraints.add(HTableDescriptor desc, Pair<Class<? extends Constraint>, org.apache.hadoop.conf.Configuration>... constraints) Add constraints and their associated configurations to the table.private static voidConstraints.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 voidConstraints.changeConstraintEnabled(HTableDescriptor desc, Class<? extends Constraint> clazz, boolean enabled) Change the whether the constraint (if it is already present) is enabled or disabled.static voidConstraints.disable(HTableDescriptor desc) Turn off processing constraints for a given table, even if constraints have been turned on or added.static voidConstraints.disableConstraint(HTableDescriptor desc, Class<? extends Constraint> clazz) Disable the givenConstraint.static voidConstraints.enable(HTableDescriptor desc) Enable constraints on a table.static voidConstraints.enableConstraint(HTableDescriptor desc, Class<? extends Constraint> clazz) Enable the givenConstraint.static booleanConstraints.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.Entryin the descriptor for the specified classprivate static longConstraints.getNextPriority(HTableDescriptor desc) static booleanConstraints.has(HTableDescriptor desc, Class<? extends Constraint> clazz) Check to see if the Constraint is currently set.static voidConstraints.remove(HTableDescriptor desc) Remove allConstraintsthat have been added to the table and turn off the constraint processing.static voidConstraints.remove(HTableDescriptor desc, Class<? extends Constraint> clazz) Remove the constraint (and associated information) for the table descriptor.static voidConstraints.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 voidConstraints.updateLatestPriority(HTableDescriptor desc, long priority) private static voidConstraints.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
Constructors in org.apache.hadoop.hbase.mapred with parameters of type HTableDescriptorModifierConstructorDescriptionTableSnapshotRegionSplit(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir) -
Uses of HTableDescriptor in org.apache.hadoop.hbase.mapreduce
Methods in org.apache.hadoop.hbase.mapreduce that return HTableDescriptorModifier and TypeMethodDescriptionHFileOutputFormat2.TableInfo.getHTableDescriptor()Deprecated.since 2.0.0 and will be removed in 3.0.0.Constructors in org.apache.hadoop.hbase.mapreduce with parameters of type HTableDescriptorModifierConstructorDescriptionTableSnapshotRegionSplit(HTableDescriptor htd, HRegionInfo regionInfo, List<String> locations, Scan scan, org.apache.hadoop.fs.Path restoreDir) -
Uses of HTableDescriptor in org.apache.hadoop.hbase.quotas
Fields in org.apache.hadoop.hbase.quotas declared as HTableDescriptorModifier and TypeFieldDescriptionstatic final HTableDescriptorQuotaUtil.QUOTA_TABLE_DESCTable descriptor for Quota internal table -
Uses of HTableDescriptor in org.apache.hadoop.hbase.rest
Methods in org.apache.hadoop.hbase.rest that return HTableDescriptor -
Uses of HTableDescriptor in org.apache.hadoop.hbase.rest.model
Methods in org.apache.hadoop.hbase.rest.model that return HTableDescriptorModifier and TypeMethodDescriptionTableSchemaModel.getTableDescriptor()Returns a table descriptorConstructors in org.apache.hadoop.hbase.rest.model with parameters of type HTableDescriptor -
Uses of HTableDescriptor in org.apache.hadoop.hbase.thrift2
Methods in org.apache.hadoop.hbase.thrift2 that return HTableDescriptorModifier and TypeMethodDescriptionstatic HTableDescriptorThriftUtilities.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
Methods in org.apache.hadoop.hbase.thrift2.client that return HTableDescriptorModifier 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)