Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
org.apache.hadoop.hbase.mapreduce |
Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.mob | |
org.apache.hadoop.hbase.mob.compactions | |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.security | |
org.apache.hadoop.hbase.tool |
Modifier and Type | Class and Description |
---|---|
class |
HColumnDescriptor
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ColumnFamilyDescriptor |
HTableDescriptor.getColumnFamily(byte[] name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected HColumnDescriptor |
HTableDescriptor.toHColumnDescriptor(ColumnFamilyDescriptor desc)
Deprecated.
Return a HColumnDescriptor for user to keep the compatibility as much as possible.
|
Modifier and Type | Class and Description |
---|---|
static class |
ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor
An ModifyableFamilyDescriptor contains information about a column family such as the
number of versions, compression settings, etc.
|
class |
ImmutableHColumnDescriptor
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<ColumnFamilyDescriptor> |
ColumnFamilyDescriptor.COMPARATOR |
static Comparator<ColumnFamilyDescriptor> |
ColumnFamilyDescriptor.COMPARATOR_IGNORE_REPLICATION |
private Map<byte[],ColumnFamilyDescriptor> |
TableDescriptorBuilder.ModifyableTableDescriptor.families
Maps column family name to the respective FamilyDescriptors
|
Modifier and Type | Method and Description |
---|---|
ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.build() |
static ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.copy(ColumnFamilyDescriptor desc) |
ColumnFamilyDescriptor[] |
TableDescriptorBuilder.ModifyableTableDescriptor.getColumnFamilies() |
ColumnFamilyDescriptor[] |
TableDescriptor.getColumnFamilies()
Returns an unmodifiable collection of all the
ColumnFamilyDescriptor of
all the column families of the table. |
ColumnFamilyDescriptor |
TableDescriptorBuilder.ModifyableTableDescriptor.getColumnFamily(byte[] column)
Returns the ColumnFamilyDescriptor for a specific column family with name as
specified by the parameter column.
|
ColumnFamilyDescriptor |
TableDescriptor.getColumnFamily(byte[] name)
Returns the ColumnDescriptor for a specific column family with name as
specified by the parameter column.
|
static ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.of(byte[] name) |
static ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.of(String name) |
static ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.parseFrom(byte[] pbBytes) |
private static ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.parseFrom(byte[] bytes) |
ColumnFamilyDescriptor |
TableDescriptorBuilder.ModifyableTableDescriptor.removeColumnFamily(byte[] column)
Removes the ColumnFamilyDescriptor with name specified by the parameter column
from the table descriptor
|
Modifier and Type | Method and Description |
---|---|
default void |
Admin.addColumn(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Deprecated.
As of release 2.0.0.
This will be removed in HBase 3.0.0.
Use
Admin.addColumnFamily(TableName, ColumnFamilyDescriptor) . |
TableDescriptorBuilder |
TableDescriptorBuilder.addColumnFamily(ColumnFamilyDescriptor family)
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0.
Use
TableDescriptorBuilder.setColumnFamily(ColumnFamilyDescriptor) instead |
void |
Admin.addColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Add a column family to an existing table.
|
CompletableFuture<Void> |
AsyncAdmin.addColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Add a column family to an existing table.
|
CompletableFuture<Void> |
RawAsyncHBaseAdmin.addColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily) |
CompletableFuture<Void> |
AsyncHBaseAdmin.addColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily) |
void |
HBaseAdmin.addColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily) |
Future<Void> |
Admin.addColumnFamilyAsync(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Add a column family to an existing table.
|
Future<Void> |
HBaseAdmin.addColumnFamilyAsync(TableName tableName,
ColumnFamilyDescriptor columnFamily) |
static ColumnFamilyDescriptor |
ColumnFamilyDescriptorBuilder.copy(ColumnFamilyDescriptor desc) |
default void |
Admin.modifyColumn(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Deprecated.
As of release 2.0.0.
This will be removed in HBase 3.0.0.
Use
Admin.modifyColumnFamily(TableName, ColumnFamilyDescriptor) . |
TableDescriptorBuilder |
TableDescriptorBuilder.modifyColumnFamily(ColumnFamilyDescriptor family) |
TableDescriptorBuilder.ModifyableTableDescriptor |
TableDescriptorBuilder.ModifyableTableDescriptor.modifyColumnFamily(ColumnFamilyDescriptor family)
Modifies the existing column family.
|
void |
Admin.modifyColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Modify an existing column family on a table.
|
CompletableFuture<Void> |
AsyncAdmin.modifyColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Modify an existing column family on a table.
|
CompletableFuture<Void> |
RawAsyncHBaseAdmin.modifyColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily) |
CompletableFuture<Void> |
AsyncHBaseAdmin.modifyColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily) |
void |
HBaseAdmin.modifyColumnFamily(TableName tableName,
ColumnFamilyDescriptor columnFamily) |
Future<Void> |
Admin.modifyColumnFamilyAsync(TableName tableName,
ColumnFamilyDescriptor columnFamily)
Modify an existing column family on a table.
|
Future<Void> |
HBaseAdmin.modifyColumnFamilyAsync(TableName tableName,
ColumnFamilyDescriptor columnFamily) |
static ColumnFamilyDescriptorBuilder |
ColumnFamilyDescriptorBuilder.newBuilder(ColumnFamilyDescriptor desc) |
private TableDescriptorBuilder.ModifyableTableDescriptor |
TableDescriptorBuilder.ModifyableTableDescriptor.putColumnFamily(ColumnFamilyDescriptor family) |
TableDescriptorBuilder |
TableDescriptorBuilder.setColumnFamily(ColumnFamilyDescriptor family) |
TableDescriptorBuilder.ModifyableTableDescriptor |
TableDescriptorBuilder.ModifyableTableDescriptor.setColumnFamily(ColumnFamilyDescriptor family)
Adds a column family.
|
static byte[] |
ColumnFamilyDescriptorBuilder.toByteArray(ColumnFamilyDescriptor desc) |
protected HColumnDescriptor |
ImmutableHTableDescriptor.toHColumnDescriptor(ColumnFamilyDescriptor desc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Comparator<TableDescriptor> |
TableDescriptor.getComparator(Comparator<ColumnFamilyDescriptor> cfComparator) |
TableDescriptorBuilder |
TableDescriptorBuilder.setColumnFamilies(Collection<ColumnFamilyDescriptor> families) |
Constructor and Description |
---|
ColumnFamilyDescriptorBuilder(ColumnFamilyDescriptor desc) |
ImmutableHColumnDescriptor(ColumnFamilyDescriptor desc)
Deprecated.
|
ModifyableColumnFamilyDescriptor(ColumnFamilyDescriptor desc)
Constructor.
|
Constructor and Description |
---|
ModifyableTableDescriptor(TableName name,
Collection<ColumnFamilyDescriptor> families,
Map<Bytes,Bytes> values) |
Constructor and Description |
---|
CacheConfig(org.apache.hadoop.conf.Configuration conf,
ColumnFamilyDescriptor family)
Create a cache configuration using the specified configuration object and
family descriptor.
|
Modifier and Type | Field and Description |
---|---|
(package private) static Function<ColumnFamilyDescriptor,String> |
HFileOutputFormat2.blockSizeDetails
Serialize column family to block size map to configuration.
|
(package private) static Function<ColumnFamilyDescriptor,String> |
HFileOutputFormat2.bloomTypeDetails
Serialize column family to bloom type map to configuration.
|
(package private) static Function<ColumnFamilyDescriptor,String> |
HFileOutputFormat2.compressionDetails
Serialize column family to compression algorithm map to configuration.
|
(package private) static Function<ColumnFamilyDescriptor,String> |
HFileOutputFormat2.dataBlockEncodingDetails
Serialize column family to data block encoding map to configuration.
|
Modifier and Type | Method and Description |
---|---|
(package private) static String |
HFileOutputFormat2.serializeColumnFamilyAttribute(Function<ColumnFamilyDescriptor,String> fn,
List<TableDescriptor> allTables) |
Modifier and Type | Field and Description |
---|---|
private List<ColumnFamilyDescriptor> |
MasterMobCompactionThread.CompactionRunner.hcds |
Modifier and Type | Method and Description |
---|---|
long |
MasterServices.addColumn(TableName tableName,
ColumnFamilyDescriptor column,
long nonceGroup,
long nonce)
Add a new column to an existing table
|
long |
HMaster.addColumn(TableName tableName,
ColumnFamilyDescriptor column,
long nonceGroup,
long nonce) |
private void |
HMaster.checkCompression(ColumnFamilyDescriptor hcd) |
private void |
HMaster.checkEncryption(org.apache.hadoop.conf.Configuration conf,
ColumnFamilyDescriptor hcd) |
private void |
HMaster.checkReplicationScope(ColumnFamilyDescriptor hcd) |
long |
MasterServices.modifyColumn(TableName tableName,
ColumnFamilyDescriptor descriptor,
long nonceGroup,
long nonce)
Modify the column descriptor of an existing column in an existing table
|
long |
HMaster.modifyColumn(TableName tableName,
ColumnFamilyDescriptor descriptor,
long nonceGroup,
long nonce) |
Modifier and Type | Method and Description |
---|---|
void |
MasterMobCompactionThread.requestMobCompaction(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
TableName tableName,
List<ColumnFamilyDescriptor> columns,
boolean allFiles)
Requests mob compaction
|
void |
HMaster.requestMobCompaction(TableName tableName,
List<ColumnFamilyDescriptor> columns,
boolean allFiles)
Requests mob compaction.
|
Constructor and Description |
---|
CompactionRunner(org.apache.hadoop.fs.FileSystem fs,
TableName tableName,
List<ColumnFamilyDescriptor> hcds,
boolean allFiles,
ExecutorService pool) |
Modifier and Type | Method and Description |
---|---|
static void |
MobUtils.cleanExpiredMobFiles(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
TableName tableName,
ColumnFamilyDescriptor columnDescriptor,
CacheConfig cacheConfig,
long current)
Cleans the expired mob files.
|
void |
ExpiredMobFileCleaner.cleanExpiredMobFiles(String tableName,
ColumnFamilyDescriptor family)
Cleans the MOB files when they're expired and their min versions are 0.
|
static StoreFileWriter |
MobUtils.createDelFileWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
ColumnFamilyDescriptor family,
String date,
org.apache.hadoop.fs.Path basePath,
long maxKeyCount,
Compression.Algorithm compression,
byte[] startKey,
CacheConfig cacheConfig,
Encryption.Context cryptoContext)
Creates a writer for the del file in temp directory.
|
static StoreFileWriter |
MobUtils.createRefFileWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
ColumnFamilyDescriptor family,
org.apache.hadoop.fs.Path basePath,
long maxKeyCount,
CacheConfig cacheConfig,
Encryption.Context cryptoContext,
boolean isCompaction)
Creates a writer for the ref file in temp directory.
|
static StoreFileWriter |
MobUtils.createWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
ColumnFamilyDescriptor family,
MobFileName mobFileName,
org.apache.hadoop.fs.Path basePath,
long maxKeyCount,
Compression.Algorithm compression,
CacheConfig cacheConfig,
Encryption.Context cryptoContext,
boolean isCompaction)
Creates a writer for the mob file in temp directory.
|
static StoreFileWriter |
MobUtils.createWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
ColumnFamilyDescriptor family,
org.apache.hadoop.fs.Path path,
long maxKeyCount,
Compression.Algorithm compression,
CacheConfig cacheConfig,
Encryption.Context cryptoContext,
ChecksumType checksumType,
int bytesPerChecksum,
int blocksize,
BloomType bloomType,
boolean isCompaction)
Creates a writer for the mob file in temp directory.
|
static StoreFileWriter |
MobUtils.createWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
ColumnFamilyDescriptor family,
String date,
org.apache.hadoop.fs.Path basePath,
long maxKeyCount,
Compression.Algorithm compression,
byte[] startKey,
CacheConfig cacheConfig,
Encryption.Context cryptoContext,
boolean isCompaction)
Creates a writer for the mob file in temp directory.
|
static StoreFileWriter |
MobUtils.createWriter(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
ColumnFamilyDescriptor family,
String date,
org.apache.hadoop.fs.Path basePath,
long maxKeyCount,
Compression.Algorithm compression,
String startKey,
CacheConfig cacheConfig,
Encryption.Context cryptoContext,
boolean isCompaction)
Creates a writer for the mob file in temp directory.
|
static void |
MobUtils.doMobCompaction(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
TableName tableName,
ColumnFamilyDescriptor hcd,
ExecutorService pool,
boolean allFiles,
LockManager.MasterLock lock)
Performs the mob compaction.
|
static boolean |
MobUtils.isMobFileExpired(ColumnFamilyDescriptor column,
long current,
String fileDate)
Checks if the mob file is expired.
|
Constructor and Description |
---|
MobCacheConfig(org.apache.hadoop.conf.Configuration conf,
ColumnFamilyDescriptor family) |
Modifier and Type | Field and Description |
---|---|
protected ColumnFamilyDescriptor |
MobCompactor.column |
Constructor and Description |
---|
MobCompactor(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
TableName tableName,
ColumnFamilyDescriptor column,
ExecutorService pool) |
PartitionedMobCompactor(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
TableName tableName,
ColumnFamilyDescriptor column,
ExecutorService pool) |
Modifier and Type | Field and Description |
---|---|
private ColumnFamilyDescriptor |
HMobStore.family |
private ColumnFamilyDescriptor |
HStore.family |
Modifier and Type | Method and Description |
---|---|
ColumnFamilyDescriptor |
HStore.getColumnFamilyDescriptor() |
ColumnFamilyDescriptor |
Store.getColumnFamilyDescriptor() |
Modifier and Type | Method and Description |
---|---|
protected void |
HMobStore.createCacheConf(ColumnFamilyDescriptor family)
Creates the mob cache config.
|
protected void |
HStore.createCacheConf(ColumnFamilyDescriptor family)
Creates the cache config.
|
static long |
HStore.determineTTLFromFamily(ColumnFamilyDescriptor family) |
protected HStore |
HRegion.instantiateHStore(ColumnFamilyDescriptor family) |
Constructor and Description |
---|
HMobStore(HRegion region,
ColumnFamilyDescriptor family,
org.apache.hadoop.conf.Configuration confParam) |
HStore(HRegion region,
ColumnFamilyDescriptor family,
org.apache.hadoop.conf.Configuration confParam)
Constructor
|
ScanInfo(org.apache.hadoop.conf.Configuration conf,
ColumnFamilyDescriptor family,
long ttl,
long timeToPurgeDeletes,
CellComparator comparator) |
Modifier and Type | Method and Description |
---|---|
static Encryption.Context |
EncryptionUtil.createEncryptionContext(org.apache.hadoop.conf.Configuration conf,
ColumnFamilyDescriptor family)
Helper to create an encyption context.
|
Modifier and Type | Method and Description |
---|---|
private static void |
LoadIncrementalHFiles.copyHFileHalf(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path inFile,
org.apache.hadoop.fs.Path outFile,
Reference reference,
ColumnFamilyDescriptor familyDescriptor)
Copy half of an HFile into a new HFile.
|
void |
Canary.RegionStdOutSink.publishReadFailure(ServerName serverName,
RegionInfo region,
ColumnFamilyDescriptor column,
Exception e) |
void |
Canary.RegionStdOutSink.publishReadTiming(ServerName serverName,
RegionInfo region,
ColumnFamilyDescriptor column,
long msTime) |
void |
Canary.RegionStdOutSink.publishWriteFailure(ServerName serverName,
RegionInfo region,
ColumnFamilyDescriptor column,
Exception e) |
void |
Canary.RegionStdOutSink.publishWriteTiming(ServerName serverName,
RegionInfo region,
ColumnFamilyDescriptor column,
long msTime) |
(package private) static void |
LoadIncrementalHFiles.splitStoreFile(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path inFile,
ColumnFamilyDescriptor familyDesc,
byte[] splitKey,
org.apache.hadoop.fs.Path bottomOut,
org.apache.hadoop.fs.Path topOut)
Split a storefile into a top and bottom half, maintaining the metadata, recreating bloom
filters, etc.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.