Uses of Enum
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 TypeMethodDescriptionHColumnDescriptor.getCompactionCompression()
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 (HBASE-13655).HColumnDescriptor.getCompactionCompressionType()
Deprecated.HColumnDescriptor.getCompression()
Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 (HBASE-13655).HColumnDescriptor.getCompressionType()
Deprecated.HColumnDescriptor.getMajorCompactionCompressionType()
Deprecated.HColumnDescriptor.getMinorCompactionCompressionType()
Deprecated.Modifier and TypeMethodDescriptionHColumnDescriptor.setCompactionCompressionType
(Compression.Algorithm value) Deprecated.Compression types supported in hbase.HColumnDescriptor.setCompressionType
(Compression.Algorithm value) Deprecated.Compression types supported in hbase.HColumnDescriptor.setMajorCompactionCompressionType
(Compression.Algorithm value) Deprecated.HColumnDescriptor.setMinorCompactionCompressionType
(Compression.Algorithm value) Deprecated. -
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 type with the specified name.static Compression.Algorithm[]
Compression.Algorithm.values()
Returns an array containing the constants of this enum type, 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 void
CompressionTest.testCompression
(Compression.Algorithm algo)