Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.io.hfile |
Provides the hbase data+index+metadata file.
|
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.util |
Modifier and Type | Method and Description |
---|---|
Compression.Algorithm |
HColumnDescriptor.getCompactionCompression() |
Compression.Algorithm |
HColumnDescriptor.getCompactionCompressionType() |
Compression.Algorithm |
HColumnDescriptor.getCompression() |
Compression.Algorithm |
HColumnDescriptor.getCompressionType() |
Modifier and Type | Method and Description |
---|---|
HColumnDescriptor |
HColumnDescriptor.setCompactionCompressionType(Compression.Algorithm type)
Compression types supported in hbase.
|
HColumnDescriptor |
HColumnDescriptor.setCompressionType(Compression.Algorithm type)
Compression types supported in hbase.
|
Modifier and Type | Method and Description |
---|---|
HColumnDescriptor |
UnmodifyableHColumnDescriptor.setCompressionType(Compression.Algorithm type) |
Modifier and Type | Field and Description |
---|---|
protected Compression.Algorithm |
AbstractHFileWriter.compressAlgo
The compression algorithm used.
|
protected Compression.Algorithm |
AbstractHFileReader.compressAlgo
Filled when we read in the trailer.
|
protected Compression.Algorithm |
HFile.WriterFactory.compression |
static Compression.Algorithm |
HFile.DEFAULT_COMPRESSION_ALGORITHM
Default compression: none.
|
Modifier and Type | Method and Description |
---|---|
static Compression.Algorithm |
AbstractHFileWriter.compressionByName(String algoName) |
Compression.Algorithm |
HFile.Reader.getCompressionAlgorithm() |
Compression.Algorithm |
AbstractHFileReader.getCompressionAlgorithm() |
static Compression.Algorithm |
Compression.getCompressionAlgorithmByName(String compressName) |
Compression.Algorithm |
FixedFileTrailer.getCompressionCodec() |
static Compression.Algorithm |
Compression.Algorithm.valueOf(String name)
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 Type | Method and Description |
---|---|
protected abstract HFile.Writer |
HFile.WriterFactory.createWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream ostream,
int blockSize,
Compression.Algorithm compress,
HFileDataBlockEncoder dataBlockEncoder,
KeyValue.KeyComparator comparator,
ChecksumType checksumType,
int bytesPerChecksum,
boolean includeMVCCReadpoint) |
void |
FixedFileTrailer.setCompressionCodec(Compression.Algorithm compressionCodec) |
HFile.WriterFactory |
HFile.WriterFactory.withCompression(Compression.Algorithm compression) |
Constructor and Description |
---|
AbstractHFileWriter(CacheConfig cacheConf,
org.apache.hadoop.fs.FSDataOutputStream outputStream,
org.apache.hadoop.fs.Path path,
int blockSize,
Compression.Algorithm compressAlgo,
HFileDataBlockEncoder dataBlockEncoder,
KeyValue.KeyComparator comparator) |
HFileBlock.Writer(Compression.Algorithm compressionAlgorithm,
HFileDataBlockEncoder dataBlockEncoder,
boolean includesMemstoreTS,
int minorVersion,
ChecksumType checksumType,
int bytesPerChecksum) |
HFileWriterV1(org.apache.hadoop.conf.Configuration conf,
CacheConfig cacheConf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream ostream,
int blockSize,
Compression.Algorithm compress,
HFileDataBlockEncoder blockEncoder,
KeyValue.KeyComparator comparator)
Constructor that takes a path, creates and closes the output stream.
|
HFileWriterV2(org.apache.hadoop.conf.Configuration conf,
CacheConfig cacheConf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream ostream,
int blockSize,
Compression.Algorithm compressAlgo,
HFileDataBlockEncoder blockEncoder,
KeyValue.KeyComparator comparator,
ChecksumType checksumType,
int bytesPerChecksum,
boolean includeMVCCReadpoint)
Constructor that takes a path, creates and closes the output stream.
|
Modifier and Type | Method and Description |
---|---|
StoreFile.Writer |
Store.createWriterInTmp(int maxKeyCount,
Compression.Algorithm compression,
boolean isCompaction,
boolean includeMVCCReadpoint) |
StoreFile.WriterBuilder |
StoreFile.WriterBuilder.withCompression(Compression.Algorithm compressAlgo) |
Modifier and Type | Method and Description |
---|---|
static void |
CompressionTest.testCompression(Compression.Algorithm algo) |
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.