Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.rest.client |
Modifier and Type | Field and Description |
---|---|
static HTableDescriptor |
HTableDescriptor.META_TABLEDESC
Deprecated.
Use TableDescriptors#get(TableName.META_TABLE_NAME) or
HBaseAdmin#getTableDescriptor(TableName.META_TABLE_NAME) instead.
|
static HTableDescriptor |
HTableDescriptor.NAMESPACE_TABLEDESC
Table descriptor for namespace table
|
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
HTableDescriptor.addCoprocessor(String className)
Add a table coprocessor to this table.
|
HTableDescriptor |
HTableDescriptor.addCoprocessor(String className,
org.apache.hadoop.fs.Path jarFilePath,
int priority,
Map<String,String> kvs)
Add a table coprocessor to this table.
|
HTableDescriptor |
HTableDescriptor.addCoprocessorWithSpec(String specStr)
Add a table coprocessor to this table.
|
HTableDescriptor |
HTableDescriptor.addFamily(HColumnDescriptor family)
Adds a column family.
|
static HTableDescriptor |
HTableDescriptor.convert(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema ts) |
static HTableDescriptor |
HTableDescriptor.metaTableDescriptor(org.apache.hadoop.conf.Configuration conf) |
HTableDescriptor |
HTableDescriptor.modifyFamily(HColumnDescriptor family)
Modifies the existing column family.
|
static HTableDescriptor |
HTableDescriptor.parseFrom(byte[] bytes) |
HTableDescriptor |
HTableDescriptor.setCompactionEnabled(boolean isEnable)
Setting the table compaction enable flag.
|
HTableDescriptor |
HTableDescriptor.setConfiguration(String key,
String value)
Setter for storing a configuration setting in
configuration map. |
HTableDescriptor |
HTableDescriptor.setDurability(Durability durability)
Sets the
Durability setting for the table. |
HTableDescriptor |
HTableDescriptor.setFlushPolicyClassName(String clazz)
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)
Sets the maximum size upto which a region can grow to after which a region
split is triggered.
|
HTableDescriptor |
HTableDescriptor.setMemStoreFlushSize(long memstoreFlushSize)
Represents the maximum size of the memstore after which the contents of the
memstore are flushed to the filesystem.
|
HTableDescriptor |
HTableDescriptor.setName(byte[] name)
Deprecated.
|
HTableDescriptor |
HTableDescriptor.setName(TableName name)
Deprecated.
|
HTableDescriptor |
HTableDescriptor.setOwner(User owner)
Deprecated.
|
HTableDescriptor |
HTableDescriptor.setOwnerString(String ownerString)
Deprecated.
|
HTableDescriptor |
HTableDescriptor.setReadOnly(boolean readOnly)
Setting the table as read only sets all the columns in the table as read
only.
|
HTableDescriptor |
HTableDescriptor.setRegionMemstoreReplication(boolean memstoreReplication)
Enable or Disable the memstore replication from the primary region to the replicas.
|
HTableDescriptor |
HTableDescriptor.setRegionReplication(int regionReplication)
Sets the number of replicas per region.
|
HTableDescriptor |
HTableDescriptor.setRegionSplitPolicyClassName(String clazz)
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)
Setter for storing metadata as a (key, value) pair in
values map |
HTableDescriptor |
HTableDescriptor.setValue(ImmutableBytesWritable key,
ImmutableBytesWritable value) |
HTableDescriptor |
HTableDescriptor.setValue(String key,
String value)
Setter for storing metadata as a (key, value) pair in
values map |
Modifier and Type | Method and Description |
---|---|
int |
HTableDescriptor.compareTo(HTableDescriptor other)
Compares the descriptor with another descriptor which is passed as a parameter.
|
Constructor and Description |
---|
HTableDescriptor(HTableDescriptor desc)
Construct a table descriptor by cloning the descriptor passed as a parameter.
|
Modifier and Type | Class and Description |
---|---|
class |
UnmodifyableHTableDescriptor
Read-only table descriptor.
|
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
UnmodifyableHTableDescriptor.addFamily(HColumnDescriptor family)
Does NOT add a column family.
|
HTableDescriptor[] |
Admin.deleteTables(Pattern pattern)
Delete tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
Admin.deleteTables(String regex)
Deletes tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
Admin.disableTables(Pattern pattern)
Disable tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
Admin.disableTables(String regex)
Disable tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
Admin.enableTables(Pattern pattern)
Enable tables matching the passed in pattern and wait on completion.
|
HTableDescriptor[] |
Admin.enableTables(String regex)
Enable tables matching the passed in pattern and wait on completion.
|
HTableDescriptor |
HConnection.getHTableDescriptor(byte[] tableName)
Deprecated.
|
HTableDescriptor |
HConnection.getHTableDescriptor(TableName tableName)
Deprecated.
|
HTableDescriptor[] |
HConnection.getHTableDescriptors(List<String> tableNames)
Deprecated.
|
HTableDescriptor[] |
HConnection.getHTableDescriptorsByTableName(List<TableName> tableNames)
Deprecated.
Use
Admin.getTableDescriptor(TableName) instead. |
HTableDescriptor |
Table.getTableDescriptor()
Gets the
table descriptor for this table. |
HTableDescriptor |
Admin.getTableDescriptor(TableName tableName)
Method for getting the tableDescriptor
|
HTableDescriptor[] |
Admin.getTableDescriptors(List<String> names)
Get tableDescriptors
|
HTableDescriptor[] |
Admin.getTableDescriptorsByTableName(List<TableName> tableNames)
Get tableDescriptors
|
HTableDescriptor[] |
Admin.listTableDescriptorsByNamespace(String name)
Get list of table descriptors by namespace
|
HTableDescriptor[] |
HConnection.listTables()
Deprecated.
Use
Admin.listTables() instead. |
HTableDescriptor[] |
Admin.listTables()
List all the userspace tables.
|
HTableDescriptor[] |
Admin.listTables(Pattern pattern)
List all the userspace tables matching the given pattern.
|
HTableDescriptor[] |
Admin.listTables(Pattern pattern,
boolean includeSysTables)
List all the tables matching the given pattern.
|
HTableDescriptor[] |
Admin.listTables(String regex)
List all the userspace tables matching the given regular expression.
|
HTableDescriptor[] |
Admin.listTables(String regex,
boolean includeSysTables)
List all the tables matching the given pattern.
|
HTableDescriptor |
UnmodifyableHTableDescriptor.modifyFamily(HColumnDescriptor family) |
HTableDescriptor |
UnmodifyableHTableDescriptor.setMaxFileSize(long maxFileSize) |
HTableDescriptor |
UnmodifyableHTableDescriptor.setMemStoreFlushSize(long memstoreFlushSize) |
HTableDescriptor |
UnmodifyableHTableDescriptor.setReadOnly(boolean readOnly) |
HTableDescriptor |
UnmodifyableHTableDescriptor.setValue(byte[] key,
byte[] value) |
HTableDescriptor |
UnmodifyableHTableDescriptor.setValue(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
void |
Admin.createTable(HTableDescriptor desc)
Creates a new table.
|
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 |
Admin.createTable(HTableDescriptor desc,
byte[] startKey,
byte[] endKey,
int numRegions)
Creates a new table with the specified number of regions.
|
void |
Admin.createTableAsync(HTableDescriptor desc,
byte[][] splitKeys)
Creates a new table but does not block and wait for it to come online.
|
void |
Admin.modifyTable(TableName tableName,
HTableDescriptor htd)
Modify an existing table, more IRB friendly version.
|
Modifier and Type | Method and Description |
---|---|
static void |
HFileOutputFormat2.configureIncrementalLoad(org.apache.hadoop.mapreduce.Job job,
HTableDescriptor tableDescriptor,
RegionLocator regionLocator)
Configure a MapReduce Job to perform an incremental load into the given
table.
|
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
RemoteHTable.getTableDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
RemoteAdmin.createTable(HTableDescriptor desc)
Creates a new table.
|
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.