@InterfaceAudience.Public
public interface TableDescriptor
 hbase:meta , if the table is read
 only, the maximum size of the memstore, when the region split should occur, coprocessors
 associated with it etc...| Modifier and Type | Field and Description | 
|---|---|
| static Comparator<TableDescriptor> | COMPARATOR | 
| static Comparator<TableDescriptor> | COMPARATOR_IGNORE_REPLICATION | 
| Modifier and Type | Method and Description | 
|---|---|
| ColumnFamilyDescriptor[] | getColumnFamilies()Returns an unmodifiable collection of all the  ColumnFamilyDescriptorof all the column
 families of the table. | 
| ColumnFamilyDescriptor | getColumnFamily(byte[] name)Returns the ColumnDescriptor for a specific column family with name as specified by the
 parameter column. | 
| int | getColumnFamilyCount()Returns the count of the column families of the table. | 
| Set<byte[]> | getColumnFamilyNames()Returns all the column family names of the current table. | 
| static Comparator<TableDescriptor> | getComparator(Comparator<ColumnFamilyDescriptor> cfComparator) | 
| Collection<CoprocessorDescriptor> | getCoprocessorDescriptors()Return the list of attached co-processor represented | 
| default Collection<String> | getCoprocessors()Deprecated. 
 As of release 2.0.0, this will be removed in HBase 3.0.0. Use
              getCoprocessorDescriptors()instead | 
| Durability | getDurability()Returns the durability setting for the table. | 
| String | getFlushPolicyClassName()This gets the class associated with the flush policy which determines the stores need to be
 flushed when flushing a region. | 
| long | getMaxFileSize()Returns the maximum size upto which a region can grow to after which a region split is
 triggered. | 
| long | getMemStoreFlushSize()Returns the size of the memstore after which a flush to filesystem is triggered. | 
| int | getNormalizerTargetRegionCount()Check if there is the target region count. | 
| long | getNormalizerTargetRegionSize()Check if there is the target region size. | 
| String | getOwnerString()Deprecated. 
 since 2.0.0 and will be removed in 3.0.0. | 
| int | getPriority() | 
| int | getRegionReplication()Returns Returns the configured replicas per region | 
| Optional<String> | getRegionServerGroup()Get the region server group this table belongs to. | 
| String | getRegionSplitPolicyClassName()This gets the class associated with the region split policy which determines when a region
 split should occur. | 
| TableName | getTableName()Get the name of the table | 
| byte[] | getValue(byte[] key)Getter for accessing the metadata associated with the key. | 
| Bytes | getValue(Bytes key)Getter for accessing the metadata associated with the key. | 
| String | getValue(String key)Getter for accessing the metadata associated with the key. | 
| Map<Bytes,Bytes> | getValues()Returns Getter for fetching an unmodifiable map. | 
| boolean | hasColumnFamily(byte[] name)Checks to see if this table contains the given column family | 
| boolean | hasCoprocessor(String classNameToMatch)Check if the table has an attached co-processor represented by the name className | 
| default boolean | hasGlobalReplicationScope()Check if any of the table's cfs' replication scope are set to
  HConstants.REPLICATION_SCOPE_GLOBAL. | 
| boolean | hasRegionMemStoreReplication()Returns true if the read-replicas memstore replication is enabled. | 
| boolean | isCompactionEnabled()Check if the compaction enable flag of the table is true. | 
| boolean | isMergeEnabled()Check if the merge enable flag of the table is true. | 
| boolean | isMetaRegion()Checks if this table is   hbase:meta region. | 
| boolean | isMetaTable()Checks if the table is a  hbase:metatable | 
| boolean | isNormalizationEnabled()Check if normalization enable flag of the table is true. | 
| boolean | isReadOnly()Check if the readOnly flag of the table is set. | 
| boolean | isSplitEnabled()Check if the split enable flag of the table is true. | 
| default boolean | matchReplicationScope(boolean enabled)Check if the table's cfs' replication scope matched with the replication state | 
| String | toStringCustomizedValues()Returns Name of this table and then a map of all of the column family descriptors (with only
 the non-default column family attributes) | 
@InterfaceAudience.Private static final Comparator<TableDescriptor> COMPARATOR
@InterfaceAudience.Private static final Comparator<TableDescriptor> COMPARATOR_IGNORE_REPLICATION
static Comparator<TableDescriptor> getComparator(Comparator<ColumnFamilyDescriptor> cfComparator)
int getColumnFamilyCount()
Collection<CoprocessorDescriptor> getCoprocessorDescriptors()
@Deprecated default Collection<String> getCoprocessors()
getCoprocessorDescriptors() insteadDurability getDurability()
ColumnFamilyDescriptor[] getColumnFamilies()
ColumnFamilyDescriptor of all the column
 families of the table.ColumnFamilyDescriptor of all the column families.Set<byte[]> getColumnFamilyNames()
ColumnFamilyDescriptor getColumnFamily(byte[] name)
name - Column family nameString getFlushPolicyClassName()
long getMaxFileSize()
long getMemStoreFlushSize()
int getPriority()
int getRegionReplication()
String getRegionSplitPolicyClassName()
TableName getTableName()
@Deprecated String getOwnerString()
Bytes getValue(Bytes key)
key - The key.byte[] getValue(byte[] key)
key - The key.String getValue(String key)
key - The key.boolean hasCoprocessor(String classNameToMatch)
classNameToMatch - - Class name of the co-processorboolean hasColumnFamily(byte[] name)
name - Family name or column name.boolean hasRegionMemStoreReplication()
boolean isCompactionEnabled()
boolean isSplitEnabled()
boolean isMergeEnabled()
boolean isMetaRegion()
 hbase:meta  region. hbase:meta  regionboolean isMetaTable()
hbase:meta table hbase:meta  region.boolean isNormalizationEnabled()
int getNormalizerTargetRegionCount()
long getNormalizerTargetRegionSize()
boolean isReadOnly()
String toStringCustomizedValues()
default boolean hasGlobalReplicationScope()
HConstants.REPLICATION_SCOPE_GLOBAL.true if we have, otherwise false.default boolean matchReplicationScope(boolean enabled)
enabled - replication stateOptional<String> getRegionServerGroup()
RSGroupInfo.DEFAULT_GROUP.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.