Uses of Interface
org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
Package
Description
Provides HBase Client
Provides implementations of
HFile
and HFile
BlockCache
.-
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase
Modifier and TypeClassDescriptionclass
org.apache.hadoop.hbase.HColumnDescriptor
Deprecated.Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.ColumnFamilyDescriptor
HTableDescriptor.getColumnFamily
(byte[] name) Deprecated.Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.HColumnDescriptor
HTableDescriptor.toHColumnDescriptor
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor desc) Deprecated.Return a HColumnDescriptor for user to keep the compatibility as much as possible. -
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase.client
Modifier and TypeClassDescriptionstatic class
org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor
An ModifyableFamilyDescriptor contains information about a column family such as the number of versions, compression settings, etc.class
org.apache.hadoop.hbase.client.ImmutableHColumnDescriptor
Deprecated.Modifier and TypeFieldDescriptionstatic final Comparator<org.apache.hadoop.hbase.client.ColumnFamilyDescriptor>
ColumnFamilyDescriptor.COMPARATOR
static final Comparator<org.apache.hadoop.hbase.client.ColumnFamilyDescriptor>
ColumnFamilyDescriptor.COMPARATOR_IGNORE_REPLICATION
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.ColumnFamilyDescriptor
ColumnFamilyDescriptorBuilder.build()
static org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
ColumnFamilyDescriptorBuilder.copy
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor desc) org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[]
TableDescriptor.getColumnFamilies()
Returns an unmodifiable collection of all theColumnFamilyDescriptor
of all the column families of the table.org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[]
TableDescriptorBuilder.ModifyableTableDescriptor.getColumnFamilies()
org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
TableDescriptor.getColumnFamily
(byte[] name) Returns the ColumnDescriptor for a specific column family with name as specified by the parameter column.org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
TableDescriptorBuilder.ModifyableTableDescriptor.getColumnFamily
(byte[] column) Returns the ColumnFamilyDescriptor for a specific column family with name as specified by the parameter column.static org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
ColumnFamilyDescriptorBuilder.of
(byte[] name) static org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
ColumnFamilyDescriptorBuilder.of
(String name) static org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
ColumnFamilyDescriptorBuilder.parseFrom
(byte[] pbBytes) org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
TableDescriptorBuilder.ModifyableTableDescriptor.removeColumnFamily
(byte[] column) Removes the ColumnFamilyDescriptor with name specified by the parameter column from the table descriptorModifier and TypeMethodDescriptiondefault void
Admin.addColumn
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) Deprecated.As of release 2.0.0.default void
Admin.addColumnFamily
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) Add a column family to an existing table.AsyncAdmin.addColumnFamily
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) Add a column family to an existing table.org.apache.hadoop.hbase.client.TableDescriptorBuilder
TableDescriptorBuilder.addColumnFamily
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family) Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0.Admin.addColumnFamilyAsync
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) Add a column family to an existing table.HBaseAdmin.addColumnFamilyAsync
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) static org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
ColumnFamilyDescriptorBuilder.copy
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor desc) default void
Admin.modifyColumn
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) Deprecated.As of release 2.0.0.default void
Admin.modifyColumnFamily
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) Modify an existing column family on a table.AsyncAdmin.modifyColumnFamily
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) Modify an existing column family on a table.org.apache.hadoop.hbase.client.TableDescriptorBuilder.ModifyableTableDescriptor
TableDescriptorBuilder.ModifyableTableDescriptor.modifyColumnFamily
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family) Modifies the existing column family.org.apache.hadoop.hbase.client.TableDescriptorBuilder
TableDescriptorBuilder.modifyColumnFamily
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family) Admin.modifyColumnFamilyAsync
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) Modify an existing column family on a table.HBaseAdmin.modifyColumnFamilyAsync
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) static org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder
ColumnFamilyDescriptorBuilder.newBuilder
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor desc) org.apache.hadoop.hbase.client.TableDescriptorBuilder.ModifyableTableDescriptor
TableDescriptorBuilder.ModifyableTableDescriptor.setColumnFamily
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family) Adds a column family.org.apache.hadoop.hbase.client.TableDescriptorBuilder
TableDescriptorBuilder.setColumnFamily
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family) static byte[]
ColumnFamilyDescriptorBuilder.toByteArray
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor desc) Serialize the table descriptor to a byte array.protected org.apache.hadoop.hbase.HColumnDescriptor
ImmutableHTableDescriptor.toHColumnDescriptor
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor desc) Deprecated.Modifier and TypeMethodDescriptionstatic Comparator<org.apache.hadoop.hbase.client.TableDescriptor>
TableDescriptor.getComparator
(Comparator<org.apache.hadoop.hbase.client.ColumnFamilyDescriptor> cfComparator) org.apache.hadoop.hbase.client.TableDescriptorBuilder
TableDescriptorBuilder.setColumnFamilies
(Collection<org.apache.hadoop.hbase.client.ColumnFamilyDescriptor> families) ModifierConstructorDescriptionImmutableHColumnDescriptor
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor desc) Deprecated.ModifyableColumnFamilyDescriptor
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor desc) Constructor. -
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase.io.hfile
ModifierConstructorDescriptionCacheConfig
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.hbase.io.hfile.BlockCache blockCache, org.apache.hadoop.hbase.io.ByteBuffAllocator byteBuffAllocator) Create a cache configuration using the specified configuration object and family descriptor. -
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase.master
Modifier and TypeMethodDescriptionlong
HMaster.addColumn
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor column, long nonceGroup, long nonce) long
MasterServices.addColumn
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor column, long nonceGroup, long nonce) Add a new column to an existing tablelong
HMaster.modifyColumn
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor descriptor, long nonceGroup, long nonce) long
MasterServices.modifyColumn
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor descriptor, long nonceGroup, long nonce) Modify the column descriptor of an existing column in an existing table -
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase.mob
Modifier and TypeMethodDescriptionstatic List<org.apache.hadoop.hbase.client.ColumnFamilyDescriptor>
MobUtils.getMobColumnFamilies
(org.apache.hadoop.hbase.client.TableDescriptor htd) Get list of Mob column families (if any exists)Modifier and TypeMethodDescriptionvoid
ExpiredMobFileCleaner.cleanExpiredMobFiles
(String tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family) Cleans the MOB files when they're expired and their min versions are 0.static void
MobUtils.cleanExpiredMobFiles
(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnDescriptor, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig, long current) Cleans the expired mob files.static org.apache.hadoop.hbase.regionserver.StoreFileWriter
MobUtils.createWriter
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, String date, org.apache.hadoop.fs.Path basePath, long maxKeyCount, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, String startKey, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig, org.apache.hadoop.hbase.io.crypto.Encryption.Context cryptoContext, boolean isCompaction, String regionName) Creates a writer for the mob file in temp directory.static org.apache.hadoop.hbase.regionserver.StoreFileWriter
MobUtils.createWriter
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.fs.Path path, long maxKeyCount, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig, org.apache.hadoop.hbase.io.crypto.Encryption.Context cryptoContext, org.apache.hadoop.hbase.util.ChecksumType checksumType, int bytesPerChecksum, int blocksize, org.apache.hadoop.hbase.regionserver.BloomType bloomType, boolean isCompaction) Creates a writer for the mob file in temp directory.static org.apache.hadoop.hbase.regionserver.StoreFileWriter
MobUtils.createWriter
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.fs.Path path, long maxKeyCount, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig, org.apache.hadoop.hbase.io.crypto.Encryption.Context cryptoContext, org.apache.hadoop.hbase.util.ChecksumType checksumType, int bytesPerChecksum, int blocksize, org.apache.hadoop.hbase.regionserver.BloomType bloomType, boolean isCompaction, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) Creates a writer for the mob file in temp directory.static org.apache.hadoop.hbase.regionserver.StoreFileWriter
MobUtils.createWriter
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.hbase.mob.MobFileName mobFileName, org.apache.hadoop.fs.Path basePath, long maxKeyCount, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConfig, org.apache.hadoop.hbase.io.crypto.Encryption.Context cryptoContext, boolean isCompaction) Creates a writer for the mob file in temp directory.static boolean
MobUtils.isMobFileExpired
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor column, long current, String fileDate) Checks if the mob file is expired.void
MobFileCompactionChore.performMajorCompactionInBatches
(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.hbase.client.TableDescriptor htd, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor hcd) -
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase.regionserver
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.ColumnFamilyDescriptor
HStore.getColumnFamilyDescriptor()
org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
Store.getColumnFamilyDescriptor()
org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
StoreContext.getFamily()
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.io.hfile.CacheConfig
HStore.createCacheConf
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family) Creates the cache config.static org.apache.hadoop.conf.Configuration
StoreUtils.createStoreConfiguration
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd) static long
HStore.determineTTLFromFamily
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family) Returns TTL in seconds of the specified familyprotected org.apache.hadoop.hbase.regionserver.HStore
HRegion.instantiateHStore
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, boolean warmup) org.apache.hadoop.hbase.regionserver.StoreContext.Builder
StoreContext.Builder.withColumnFamilyDescriptor
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family) ModifierConstructorDescriptionHMobStore
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.conf.Configuration confParam, boolean warmup) protected
HStore
(org.apache.hadoop.hbase.regionserver.HRegion region, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.conf.Configuration confParam, boolean warmup) ConstructorScanInfo
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, long ttl, long timeToPurgeDeletes, CellComparator comparator) -
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase.regionserver.storefiletracker
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.regionserver.storefiletracker.StoreFileTracker
StoreFileTrackerFactory.create
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd, org.apache.hadoop.hbase.regionserver.HRegionFileSystem regionFs) Used at master side when splitting/merging regions, as we do not have a Store, thus no StoreContext at master side. -
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase.security
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.io.crypto.Encryption.Context
EncryptionUtil.createEncryptionContext
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family) Helper to create an encyption context. -
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase.shaded.protobuf
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
ProtobufUtil.toColumnFamilyDescriptor
(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ColumnFamilySchema cfs) Converts a ColumnFamilySchema to ColumnFamilyDescriptorModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.AddColumnRequest
RequestConverter.buildAddColumnRequest
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor column, long nonceGroup, long nonce) Create a protocol buffer AddColumnRequeststatic org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.ModifyColumnRequest
RequestConverter.buildModifyColumnRequest
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor column, long nonceGroup, long nonce) Create a protocol buffer ModifyColumnRequeststatic org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.ColumnFamilySchema
ProtobufUtil.toColumnFamilySchema
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor hcd) Converts an ColumnFamilyDescriptor to ColumnFamilySchema -
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase.util
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
FSTableDescriptors.getReplBarrierFamilyDescForMeta()
static org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
FSTableDescriptors.getTableFamilyDescForMeta
(org.apache.hadoop.conf.Configuration conf)