Uses of Interface
org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
Package
Description
Provides HBase Client
Provides implementations of
HFile
and HFile
BlockCache
.Provides an HBase Thrift
service.
-
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase
Modifier and TypeMethodDescriptionstatic List<org.apache.hadoop.hbase.client.ColumnFamilyDescriptor>
HBaseTestingUtility.generateColumnDescriptors()
Deprecated.Create a set of column descriptors with the combination of compression, encoding, bloom codecs available.static List<org.apache.hadoop.hbase.client.ColumnFamilyDescriptor>
HBaseTestingUtility.generateColumnDescriptors
(String prefix) Deprecated.Create a set of column descriptors with the combination of compression, encoding, bloom codecs available.Modifier and TypeMethodDescriptionstatic int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor hcd) Deprecated.Creates a pre-split table for load testing.static int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] hcds, int numRegionsPerServer) Deprecated.Creates a pre-split table for load testing.static int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] cds, org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm splitter, int numRegionsPerServer) Deprecated.Creates a pre-split table for load testing.static int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor hcd, int numRegionsPerServer) Deprecated.Creates a pre-split table for load testing.org.apache.hadoop.hbase.regionserver.HRegion
HBaseTestingUtility.createTestRegion
(String tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cd) Deprecated.org.apache.hadoop.hbase.regionserver.HRegion
HBaseTestingUtility.createTestRegion
(String tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cd, org.apache.hadoop.hbase.io.hfile.BlockCache blockCache) Deprecated. -
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase.client
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
TableDescriptor.getColumnFamily
(byte[] name) Returns the ColumnDescriptor 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) Modifier and TypeMethodDescriptiondefault 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.Admin.addColumnFamilyAsync
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor columnFamily) Add a column family to an existing table.static org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
ColumnFamilyDescriptorBuilder.copy
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor desc) 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
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.static org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder
ColumnFamilyDescriptorBuilder.newBuilder
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor desc) 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.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) -
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
(org.apache.hadoop.hbase.client.TableDescriptor htd, 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.client.TableDescriptor htd, 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.static 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, boolean isPrimaryReplica) -
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.thrift
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
ThriftUtilities.colDescFromThrift
(org.apache.hadoop.hbase.thrift.generated.ColumnDescriptor in) This utility method creates a new Hbase HColumnDescriptor object based on a Thrift ColumnDescriptor "struct".Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.thrift.generated.ColumnDescriptor
ThriftUtilities.colDescFromHbase
(org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in) This utility method creates a new Thrift ColumnDescriptor "struct" based on an Hbase HColumnDescriptor object. -
Uses of org.apache.hadoop.hbase.client.ColumnFamilyDescriptor in org.apache.hadoop.hbase.util
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
FSTableDescriptors.getNamespaceFamilyDescForMeta
(org.apache.hadoop.conf.Configuration conf) static org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
FSTableDescriptors.getReplBarrierFamilyDescForMeta()
static org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
FSTableDescriptors.getTableFamilyDescForMeta
(org.apache.hadoop.conf.Configuration conf) Modifier and TypeMethodDescriptionstatic int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor hcd) Creates a pre-split table for load testing.static int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] hcds, int numRegionsPerServer) Creates a pre-split table for load testing.static int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor[] cds, org.apache.hadoop.hbase.util.RegionSplitter.SplitAlgorithm splitter, int numRegionsPerServer) Creates a pre-split table for load testing.static int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.TableDescriptor desc, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor hcd, int numRegionsPerServer) Creates a pre-split table for load testing.