Package | Description |
---|---|
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 | Field and Description |
---|---|
protected ChecksumType |
HFile.WriterFactory.checksumType |
static ChecksumType |
HFile.DEFAULT_CHECKSUM_TYPE |
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.KVComparator comparator,
ChecksumType checksumType,
int bytesPerChecksum,
boolean includeMVCCReadpoint) |
HFile.WriterFactory |
HFile.WriterFactory.withChecksumType(ChecksumType checksumType) |
Constructor and Description |
---|
HFileBlock.Writer(Compression.Algorithm compressionAlgorithm,
HFileDataBlockEncoder dataBlockEncoder,
boolean includesMemstoreTS,
ChecksumType checksumType,
int bytesPerChecksum) |
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.KVComparator comparator,
ChecksumType checksumType,
int bytesPerChecksum,
boolean includeMVCCReadpoint)
Constructor that takes a path, creates and closes the output stream.
|
Modifier and Type | Field and Description |
---|---|
protected ChecksumType |
StoreFile.Writer.checksumType
Checksum type
|
Modifier and Type | Method and Description |
---|---|
static ChecksumType |
HStore.getChecksumType(org.apache.hadoop.conf.Configuration conf)
Returns the configured checksum algorithm.
|
Modifier and Type | Method and Description |
---|---|
StoreFile.WriterBuilder |
StoreFile.WriterBuilder.withChecksumType(ChecksumType checksumType) |
Modifier and Type | Method and Description |
---|---|
static ChecksumType |
ChecksumType.codeToType(byte b)
Cannot rely on enum ordinals .
|
static ChecksumType |
ChecksumType.nameToType(String name)
Map a checksum name to a specific type.
|
static ChecksumType |
ChecksumType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChecksumType[] |
ChecksumType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2013 The Apache Software Foundation. All rights reserved.