@InterfaceAudience.Private public class HFileContextBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BYTES_PER_CHECKSUM |
static ChecksumType |
DEFAULT_CHECKSUM_TYPE |
Constructor and Description |
---|
HFileContextBuilder() |
Modifier and Type | Method and Description |
---|---|
HFileContext |
build() |
HFileContextBuilder |
withBlockSize(int blockSize) |
HFileContextBuilder |
withBytesPerCheckSum(int bytesPerChecksum) |
HFileContextBuilder |
withChecksumType(ChecksumType checkSumType) |
HFileContextBuilder |
withCompression(Compression.Algorithm compression) |
HFileContextBuilder |
withCompressTags(boolean compressTags) |
HFileContextBuilder |
withCreateTime(long fileCreateTime) |
HFileContextBuilder |
withDataBlockEncoding(DataBlockEncoding encoding) |
HFileContextBuilder |
withEncryptionContext(Encryption.Context cryptoContext) |
HFileContextBuilder |
withHBaseCheckSum(boolean useHBaseCheckSum) |
HFileContextBuilder |
withIncludesMvcc(boolean includesMvcc) |
HFileContextBuilder |
withIncludesTags(boolean includesTags) |
public static final int DEFAULT_BYTES_PER_CHECKSUM
public static final ChecksumType DEFAULT_CHECKSUM_TYPE
public HFileContextBuilder withHBaseCheckSum(boolean useHBaseCheckSum)
public HFileContextBuilder withIncludesMvcc(boolean includesMvcc)
public HFileContextBuilder withIncludesTags(boolean includesTags)
public HFileContextBuilder withCompression(Compression.Algorithm compression)
public HFileContextBuilder withCompressTags(boolean compressTags)
public HFileContextBuilder withChecksumType(ChecksumType checkSumType)
public HFileContextBuilder withBytesPerCheckSum(int bytesPerChecksum)
public HFileContextBuilder withBlockSize(int blockSize)
public HFileContextBuilder withDataBlockEncoding(DataBlockEncoding encoding)
public HFileContextBuilder withEncryptionContext(Encryption.Context cryptoContext)
public HFileContextBuilder withCreateTime(long fileCreateTime)
public HFileContext build()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.