Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
org.apache.hadoop.hbase.mob | |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.util |
Modifier and Type | Field and Description |
---|---|
private ChecksumType |
HFileContextBuilder.checksumType
the checksum type
|
private ChecksumType |
HFileContext.checksumType
the checksum type
|
Modifier and Type | Method and Description |
---|---|
ChecksumType |
HFileContext.getChecksumType() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
ChecksumUtil.generateChecksums(byte[] indata,
int startOffset,
int endOffset,
byte[] outdata,
int outOffset,
ChecksumType checksumType,
int bytesPerChecksum)
Generates a checksum for all the data in indata.
|
HFileContextBuilder |
HFileContextBuilder.withChecksumType(ChecksumType checkSumType) |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected ChecksumType |
HStore.checksumType
Checksum configuration
|
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 |
---|---|
static ChecksumType |
ChecksumType.codeToType(byte b)
Cannot rely on enum ordinals .
|
static ChecksumType |
ChecksumType.getDefaultChecksumType() |
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 © 2007–2020 The Apache Software Foundation. All rights reserved.