Uses of Enum Class
org.apache.hadoop.hbase.io.compress.Compression.Algorithm
Package
Description
Provides HBase Client
Provides implementations of
HFile
and HFile
BlockCache
.Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
Provides an HBase Thrift
service.
-
Uses of Compression.Algorithm in org.apache.hadoop.hbase
Modifier and TypeFieldDescription(package private) Compression.Algorithm
PerformanceEvaluation.TestOptions.compression
static final Compression.Algorithm[]
HBaseCommonTestingUtility.COMPRESSION_ALGORITHMS
Deprecated.Compression algorithms to use in testingModifier and TypeMethodDescriptionPerformanceEvaluation.TestOptions.getCompression()
static Compression.Algorithm[]
HBaseTestingUtility.getSupportedCompressionAlgorithms()
Deprecated.Get supported compression algorithms.Modifier and TypeMethodDescriptionstatic int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, TableName tableName, byte[][] columnFamilies, Compression.Algorithm compression, DataBlockEncoding dataBlockEncoding, int numRegionsPerServer, int regionReplication, Durability durability) Deprecated.Creates a pre-split table for load testing.static int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, TableName tableName, byte[] columnFamily, Compression.Algorithm compression, DataBlockEncoding dataBlockEncoding) Deprecated.Creates a pre-split table for load testing.static int
HBaseTestingUtility.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, TableName tableName, byte[] columnFamily, Compression.Algorithm compression, DataBlockEncoding dataBlockEncoding, int numRegionsPerServer, int regionReplication, Durability durability) Deprecated.Creates a pre-split table for load testing.void
PerformanceEvaluation.TestOptions.setCompression
(Compression.Algorithm compression) -
Uses of Compression.Algorithm in org.apache.hadoop.hbase.client
Modifier and TypeFieldDescriptionstatic final Compression.Algorithm
ColumnFamilyDescriptorBuilder.DEFAULT_COMPRESSION
Default compression type.Modifier and TypeMethodDescriptionColumnFamilyDescriptor.getCompactionCompressionType()
Returns Compression type setting.ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.getCompactionCompressionType()
ColumnFamilyDescriptor.getCompressionType()
Returns Compression type setting.ColumnFamilyDescriptorBuilder.getCompressionType()
ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.getCompressionType()
ColumnFamilyDescriptor.getMajorCompactionCompressionType()
Returns Compression type setting for major compactions.ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.getMajorCompactionCompressionType()
ColumnFamilyDescriptor.getMinorCompactionCompressionType()
Returns Compression type setting for minor compactions.ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.getMinorCompactionCompressionType()
Modifier and TypeMethodDescriptionColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.setCompactionCompressionType
(Compression.Algorithm type) Compression types supported in hbase.ColumnFamilyDescriptorBuilder.setCompactionCompressionType
(Compression.Algorithm value) ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.setCompressionType
(Compression.Algorithm type) Compression types supported in hbase.ColumnFamilyDescriptorBuilder.setCompressionType
(Compression.Algorithm value) ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.setMajorCompactionCompressionType
(Compression.Algorithm type) ColumnFamilyDescriptorBuilder.setMajorCompactionCompressionType
(Compression.Algorithm value) ColumnFamilyDescriptorBuilder.ModifyableColumnFamilyDescriptor.setMinorCompactionCompressionType
(Compression.Algorithm type) ColumnFamilyDescriptorBuilder.setMinorCompactionCompressionType
(Compression.Algorithm value) -
Uses of Compression.Algorithm in org.apache.hadoop.hbase.io.compress
Modifier and TypeMethodDescriptionstatic Compression.Algorithm
Compression.getCompressionAlgorithmByName
(String compressName) static Compression.Algorithm
Returns the enum constant of this class with the specified name.static Compression.Algorithm[]
Compression.Algorithm.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.io.compress.CompressionCodec
Compression.buildCodec
(org.apache.hadoop.conf.Configuration conf, Compression.Algorithm algo) Load a codec implementation for an algorithm using the supplied configuration. -
Uses of Compression.Algorithm in org.apache.hadoop.hbase.io.encoding
Modifier and TypeMethodDescriptionstatic int
EncodedDataBlock.getCompressedSize
(Compression.Algorithm algo, org.apache.hadoop.io.compress.Compressor compressor, byte[] inputBuffer, int offset, int length) Find the size of compressed data assuming that buffer will be compressed using given algorithm.int
EncodedDataBlock.getEncodedCompressedSize
(Compression.Algorithm comprAlgo, org.apache.hadoop.io.compress.Compressor compressor) Estimate size after second stage of compression (e.g. -
Uses of Compression.Algorithm in org.apache.hadoop.hbase.io.hfile
Modifier and TypeFieldDescriptionprivate Compression.Algorithm
HFileContext.compressAlgo
Compression algorithm usedprivate Compression.Algorithm
HFileContextBuilder.compression
Compression algorithm usedprivate Compression.Algorithm
FixedFileTrailer.compressionCodec
The compression codec used for all blocks.static final Compression.Algorithm
Default compression: none.Modifier and TypeMethodDescriptionstatic Compression.Algorithm
HFileWriterImpl.compressionByName
(String algoName) HFileContext.getCompression()
HFileReaderImpl.getCompressionAlgorithm()
FixedFileTrailer.getCompressionCodec()
Modifier and TypeMethodDescriptionvoid
FixedFileTrailer.setCompressionCodec
(Compression.Algorithm compressionCodec) HFileContextBuilder.withCompression
(Compression.Algorithm compression) ModifierConstructorDescription(package private)
HFileContext
(boolean useHBaseChecksum, boolean includesMvcc, boolean includesTags, Compression.Algorithm compressAlgo, boolean compressTags, ChecksumType checksumType, int bytesPerChecksum, int blockSize, DataBlockEncoding encoding, Encryption.Context cryptoContext, long fileCreateTime, String hfileName, byte[] columnFamily, byte[] tableName, CellComparator cellComparator, IndexBlockEncoding indexBlockEncoding) -
Uses of Compression.Algorithm in org.apache.hadoop.hbase.mapreduce
Modifier and TypeMethodDescription(package private) static Map<byte[],
Compression.Algorithm> HFileOutputFormat2.createFamilyCompressionMap
(org.apache.hadoop.conf.Configuration conf) Runs inside the task to deserialize column family to compression algorithm map from the configuration. -
Uses of Compression.Algorithm in org.apache.hadoop.hbase.mob
Modifier and TypeMethodDescriptionstatic 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, String regionName) 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, 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, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) 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, 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. -
Uses of Compression.Algorithm in org.apache.hadoop.hbase.regionserver
Modifier and TypeFieldDescriptionprivate Compression.Algorithm
CreateStoreFileWriterParams.compression
Modifier and TypeMethodDescriptionCreateStoreFileWriterParams.compression
(Compression.Algorithm compression) Set the compression algorithm to useHMobStore.createWriter
(Date date, long maxKeyCount, Compression.Algorithm compression, byte[] startKey, boolean isCompaction, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) Creates the writer for the mob file in the mob family directory.HMobStore.createWriterInTmp
(String date, org.apache.hadoop.fs.Path basePath, long maxKeyCount, Compression.Algorithm compression, byte[] startKey, boolean isCompaction, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) Creates the writer for the mob file in temp directory.HMobStore.createWriterInTmp
(Date date, long maxKeyCount, Compression.Algorithm compression, byte[] startKey, boolean isCompaction) Creates the writer for the mob file in temp directory.HMobStore.createWriterInTmp
(MobFileName mobFileName, org.apache.hadoop.fs.Path basePath, long maxKeyCount, Compression.Algorithm compression, boolean isCompaction, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) Creates the writer for the mob file in temp directory. -
Uses of Compression.Algorithm in org.apache.hadoop.hbase.regionserver.compactions
Modifier and TypeFieldDescriptionprotected final Compression.Algorithm
Compactor.majorCompactionCompression
protected final Compression.Algorithm
Compactor.minorCompactionCompression
-
Uses of Compression.Algorithm in org.apache.hadoop.hbase.regionserver.storefiletracker
Modifier and TypeMethodDescriptionprivate HFileContext
StoreFileTrackerBase.createFileContext
(Compression.Algorithm compression, boolean includeMVCCReadpoint, boolean includesTag, Encryption.Context encryptionContext) -
Uses of Compression.Algorithm in org.apache.hadoop.hbase.regionserver.wal
Modifier and TypeFieldDescriptionprivate final Compression.Algorithm
CompressionContext.ValueCompressor.algorithm
protected Compression.Algorithm
AbstractProtobufWALReader.valueCompressionType
Modifier and TypeMethodDescriptionCompressionContext.ValueCompressor.getAlgorithm()
static Compression.Algorithm
CompressionContext.getValueCompressionAlgorithm
(org.apache.hadoop.conf.Configuration conf) ModifierConstructorDescriptionCompressionContext
(Class<? extends Dictionary> dictType, boolean recoveredEdits, boolean hasTagCompression, boolean hasValueCompression, Compression.Algorithm valueCompressionType) ValueCompressor
(Compression.Algorithm algorithm) -
Uses of Compression.Algorithm in org.apache.hadoop.hbase.thrift2
Modifier and TypeMethodDescriptionstatic Compression.Algorithm
ThriftUtilities.compressionAlgorithmFromThrift
(org.apache.hadoop.hbase.thrift2.generated.TCompressionAlgorithm in) Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.thrift2.generated.TCompressionAlgorithm
ThriftUtilities.compressionAlgorithmFromHBase
(Compression.Algorithm in) -
Uses of Compression.Algorithm in org.apache.hadoop.hbase.util
Modifier and TypeMethodDescriptionstatic int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, TableName tableName, byte[][] columnFamilies, Compression.Algorithm compression, DataBlockEncoding dataBlockEncoding, int numRegionsPerServer, int regionReplication, Durability durability) Creates a pre-split table for load testing.static int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, TableName tableName, byte[] columnFamily, Compression.Algorithm compression, DataBlockEncoding dataBlockEncoding) Creates a pre-split table for load testing.static int
LoadTestUtil.createPreSplitLoadTestTable
(org.apache.hadoop.conf.Configuration conf, TableName tableName, byte[] columnFamily, Compression.Algorithm compression, DataBlockEncoding dataBlockEncoding, int numRegionsPerServer, int regionReplication, Durability durability) Creates a pre-split table for load testing.static void
CompressionTest.testCompression
(Compression.Algorithm algo)