Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.coprocessor |
Table of Contents
|
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.master.procedure | |
org.apache.hadoop.hbase.protobuf |
Holds classes generated from protobuf
src/main/protobuf definition files. |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.rsgroup | |
org.apache.hadoop.hbase.security.access | |
org.apache.hadoop.hbase.security.visibility | |
org.apache.hadoop.hbase.thrift |
Provides an HBase Thrift
service.
|
org.apache.hadoop.hbase.tool |
Modifier and Type | Method and Description |
---|---|
static HColumnDescriptor |
HColumnDescriptor.convert(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilySchema cfs)
Deprecated.
|
HColumnDescriptor[] |
HTableDescriptor.getColumnFamilies()
Returns an array all the
HColumnDescriptor of the column families
of the table. |
HColumnDescriptor |
HTableDescriptor.getFamily(byte[] column)
Returns the HColumnDescriptor for a specific column family with name as
specified by the parameter column.
|
static HColumnDescriptor |
HColumnDescriptor.parseFrom(byte[] bytes) |
HColumnDescriptor |
HTableDescriptor.removeFamily(byte[] column)
Removes the HColumnDescriptor with name specified by the parameter column
from the table descriptor
|
HColumnDescriptor |
HColumnDescriptor.setBlockCacheEnabled(boolean blockCacheEnabled) |
HColumnDescriptor |
HColumnDescriptor.setBlocksize(int s) |
HColumnDescriptor |
HColumnDescriptor.setBloomFilterType(BloomType bt) |
HColumnDescriptor |
HColumnDescriptor.setCacheBloomsOnWrite(boolean value) |
HColumnDescriptor |
HColumnDescriptor.setCacheDataInL1(boolean value) |
HColumnDescriptor |
HColumnDescriptor.setCacheDataOnWrite(boolean value) |
HColumnDescriptor |
HColumnDescriptor.setCacheIndexesOnWrite(boolean value) |
HColumnDescriptor |
HColumnDescriptor.setCompactionCompressionType(Compression.Algorithm type)
Compression types supported in hbase.
|
HColumnDescriptor |
HColumnDescriptor.setCompressionType(Compression.Algorithm type)
Compression types supported in hbase.
|
HColumnDescriptor |
HColumnDescriptor.setCompressTags(boolean compressTags)
Set whether the tags should be compressed along with DataBlockEncoding.
|
HColumnDescriptor |
HColumnDescriptor.setConfiguration(String key,
String value)
Setter for storing a configuration setting in
configuration map. |
HColumnDescriptor |
HColumnDescriptor.setDataBlockEncoding(DataBlockEncoding type)
Set data block encoding algorithm used in block cache.
|
HColumnDescriptor |
HColumnDescriptor.setDFSReplication(short replication)
Set the replication factor to hfile(s) belonging to this family
|
HColumnDescriptor |
HColumnDescriptor.setEncodeOnDisk(boolean encodeOnDisk)
Deprecated.
As of release 0.98
(HBASE-9870).
This will be removed in HBase 2.0.0. This method does nothing now.
|
HColumnDescriptor |
HColumnDescriptor.setEncryptionKey(byte[] keyBytes)
Set the raw crypto key attribute for the family
|
HColumnDescriptor |
HColumnDescriptor.setEncryptionType(String algorithm)
Set the encryption algorithm for use with this family
|
HColumnDescriptor |
HColumnDescriptor.setEvictBlocksOnClose(boolean value) |
HColumnDescriptor |
HColumnDescriptor.setInMemory(boolean inMemory) |
HColumnDescriptor |
HColumnDescriptor.setKeepDeletedCells(boolean keepDeletedCells)
Deprecated.
As of release 1.0.0
(HBASE-12363).
This will be removed in HBase 2.0.0.
Use
setKeepDeletedCells(KeepDeletedCells) . |
HColumnDescriptor |
HColumnDescriptor.setKeepDeletedCells(KeepDeletedCells keepDeletedCells) |
HColumnDescriptor |
HColumnDescriptor.setMaxVersions(int maxVersions) |
HColumnDescriptor |
HColumnDescriptor.setMinVersions(int minVersions) |
HColumnDescriptor |
HColumnDescriptor.setPrefetchBlocksOnOpen(boolean value) |
HColumnDescriptor |
HColumnDescriptor.setScope(int scope) |
HColumnDescriptor |
HColumnDescriptor.setTimeToLive(int timeToLive) |
HColumnDescriptor |
HColumnDescriptor.setValue(byte[] key,
byte[] value) |
HColumnDescriptor |
HColumnDescriptor.setValue(String key,
String value) |
HColumnDescriptor |
HColumnDescriptor.setVersions(int minVersions,
int maxVersions)
Set minimum and maximum versions to keep
|
Modifier and Type | Method and Description |
---|---|
Collection<HColumnDescriptor> |
HTableDescriptor.getFamilies()
Returns an unmodifiable collection of all the
HColumnDescriptor
of all the column families of the table. |
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
HTableDescriptor.addFamily(HColumnDescriptor family)
Adds a column family.
|
int |
HColumnDescriptor.compareTo(HColumnDescriptor o) |
HTableDescriptor |
HTableDescriptor.modifyFamily(HColumnDescriptor family)
Modifies the existing column family.
|
Constructor and Description |
---|
HColumnDescriptor(HColumnDescriptor desc)
Constructor.
|
HTableDescriptor(TableName name,
HColumnDescriptor[] families)
INTERNAL Private constructor used internally creating table descriptors for
catalog tables,
hbase:meta and -ROOT- . |
HTableDescriptor(TableName name,
HColumnDescriptor[] families,
Map<ImmutableBytesWritable,ImmutableBytesWritable> values)
INTERNAL Private constructor used internally creating table descriptors for
catalog tables,
hbase:meta and -ROOT- . |
Modifier and Type | Method and Description |
---|---|
HColumnDescriptor |
UnmodifyableHTableDescriptor.removeFamily(byte[] column) |
Modifier and Type | Method and Description |
---|---|
void |
HBaseAdmin.addColumn(byte[] tableName,
HColumnDescriptor column)
Add a column to an existing table.
|
void |
HBaseAdmin.addColumn(String tableName,
HColumnDescriptor column)
Add a column to an existing table.
|
void |
Admin.addColumn(TableName tableName,
HColumnDescriptor column)
Add a column to an existing table.
|
void |
HBaseAdmin.addColumn(TableName tableName,
HColumnDescriptor column)
Add a column to an existing table.
|
HTableDescriptor |
UnmodifyableHTableDescriptor.addFamily(HColumnDescriptor family)
Does NOT add a column family.
|
void |
HBaseAdmin.modifyColumn(byte[] tableName,
HColumnDescriptor descriptor)
Modify an existing column family on a table.
|
void |
HBaseAdmin.modifyColumn(String tableName,
HColumnDescriptor descriptor)
Modify an existing column family on a table.
|
void |
Admin.modifyColumn(TableName tableName,
HColumnDescriptor descriptor)
Modify an existing column family on a table.
|
void |
HBaseAdmin.modifyColumn(TableName tableName,
HColumnDescriptor descriptor)
Modify an existing column family on a table.
|
HTableDescriptor |
UnmodifyableHTableDescriptor.modifyFamily(HColumnDescriptor family) |
Constructor and Description |
---|
CacheConfig(org.apache.hadoop.conf.Configuration conf,
HColumnDescriptor family)
Create a cache configuration using the specified configuration object and
family descriptor.
|
Modifier and Type | Method and Description |
---|---|
void |
HMaster.addColumn(TableName tableName,
HColumnDescriptor columnDescriptor,
long nonceGroup,
long nonce) |
void |
MasterServices.addColumn(TableName tableName,
HColumnDescriptor column,
long nonceGroup,
long nonce)
Add a new column to an existing table
|
void |
HMaster.modifyColumn(TableName tableName,
HColumnDescriptor descriptor,
long nonceGroup,
long nonce) |
void |
MasterServices.modifyColumn(TableName tableName,
HColumnDescriptor descriptor,
long nonceGroup,
long nonce)
Modify the column descriptor of an existing column in an existing table
|
void |
MasterCoprocessorHost.postAddColumn(TableName tableName,
HColumnDescriptor column) |
void |
MasterCoprocessorHost.postAddColumnHandler(TableName tableName,
HColumnDescriptor column) |
void |
MasterCoprocessorHost.postModifyColumn(TableName tableName,
HColumnDescriptor descriptor) |
void |
MasterCoprocessorHost.postModifyColumnHandler(TableName tableName,
HColumnDescriptor descriptor) |
boolean |
MasterCoprocessorHost.preAddColumn(TableName tableName,
HColumnDescriptor column) |
boolean |
MasterCoprocessorHost.preAddColumnHandler(TableName tableName,
HColumnDescriptor column) |
boolean |
MasterCoprocessorHost.preModifyColumn(TableName tableName,
HColumnDescriptor descriptor) |
boolean |
MasterCoprocessorHost.preModifyColumnHandler(TableName tableName,
HColumnDescriptor descriptor) |
Constructor and Description |
---|
AddColumnFamilyProcedure(MasterProcedureEnv env,
TableName tableName,
HColumnDescriptor cfDescriptor) |
ModifyColumnFamilyProcedure(MasterProcedureEnv env,
TableName tableName,
HColumnDescriptor cfDescriptor) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.AddColumnRequest |
RequestConverter.buildAddColumnRequest(TableName tableName,
HColumnDescriptor column,
long nonceGroup,
long nonce)
Create a protocol buffer AddColumnRequest
|
static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.ModifyColumnRequest |
RequestConverter.buildModifyColumnRequest(TableName tableName,
HColumnDescriptor column,
long nonceGroup,
long nonce)
Create a protocol buffer ModifyColumnRequest
|
Modifier and Type | Method and Description |
---|---|
HColumnDescriptor |
Store.getFamily() |
HColumnDescriptor |
HStore.getFamily() |
Modifier and Type | Method and Description |
---|---|
protected HStore |
HRegion.instantiateHStore(HColumnDescriptor family) |
Constructor and Description |
---|
HStore(HRegion region,
HColumnDescriptor family,
org.apache.hadoop.conf.Configuration confParam)
Constructor
|
ScanInfo(org.apache.hadoop.conf.Configuration conf,
HColumnDescriptor family,
long ttl,
long timeToPurgeDeletes,
KeyValue.KVComparator comparator) |
Modifier and Type | Method and Description |
---|---|
void |
AccessController.preAddColumn(ObserverContext<MasterCoprocessorEnvironment> c,
TableName tableName,
HColumnDescriptor column) |
void |
AccessController.preModifyColumn(ObserverContext<MasterCoprocessorEnvironment> c,
TableName tableName,
HColumnDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
void |
VisibilityController.preAddColumn(ObserverContext<MasterCoprocessorEnvironment> ctx,
TableName tableName,
HColumnDescriptor column) |
void |
VisibilityController.preModifyColumn(ObserverContext<MasterCoprocessorEnvironment> ctx,
TableName tableName,
HColumnDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
static HColumnDescriptor |
ThriftUtilities.colDescFromThrift(ColumnDescriptor in)
This utility method creates a new Hbase HColumnDescriptor object based on a
Thrift ColumnDescriptor "struct".
|
Modifier and Type | Method and Description |
---|---|
static ColumnDescriptor |
ThriftUtilities.colDescFromHbase(HColumnDescriptor in)
This utility method creates a new Thrift ColumnDescriptor "struct" based on
an Hbase HColumnDescriptor object.
|
Modifier and Type | Method and Description |
---|---|
void |
CanaryTool.RegionStdOutSink.publishReadFailure(ServerName serverName,
HRegionInfo region,
HColumnDescriptor column,
Exception e) |
void |
CanaryTool.RegionStdOutSink.publishReadTiming(ServerName serverName,
HRegionInfo region,
HColumnDescriptor column,
long msTime) |
void |
CanaryTool.RegionStdOutSink.publishWriteFailure(ServerName serverName,
HRegionInfo region,
HColumnDescriptor column,
Exception e) |
void |
CanaryTool.RegionStdOutSink.publishWriteTiming(ServerName serverName,
HRegionInfo region,
HColumnDescriptor column,
long msTime) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.