org.apache.hadoop.hbase.io.hfile
Class HFileContextBuilder
java.lang.Object
org.apache.hadoop.hbase.io.hfile.HFileContextBuilder
@InterfaceAudience.Private
public class HFileContextBuilder
- extends Object
A builder that helps in building up the HFileContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_BYTES_PER_CHECKSUM
public static final int DEFAULT_BYTES_PER_CHECKSUM
- See Also:
- Constant Field Values
DEFAULT_CHECKSUM_TYPE
public static final ChecksumType DEFAULT_CHECKSUM_TYPE
HFileContextBuilder
public HFileContextBuilder()
withHBaseCheckSum
public HFileContextBuilder withHBaseCheckSum(boolean useHBaseCheckSum)
withIncludesMvcc
public HFileContextBuilder withIncludesMvcc(boolean includesMvcc)
withIncludesTags
public HFileContextBuilder withIncludesTags(boolean includesTags)
withCompression
public HFileContextBuilder withCompression(Compression.Algorithm compression)
withCompressTags
public HFileContextBuilder withCompressTags(boolean compressTags)
withChecksumType
public HFileContextBuilder withChecksumType(ChecksumType checkSumType)
withBytesPerCheckSum
public HFileContextBuilder withBytesPerCheckSum(int bytesPerChecksum)
withBlockSize
public HFileContextBuilder withBlockSize(int blockSize)
withDataBlockEncoding
public HFileContextBuilder withDataBlockEncoding(DataBlockEncoding encoding)
withEncryptionContext
public HFileContextBuilder withEncryptionContext(Encryption.Context cryptoContext)
build
public HFileContext build()
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.