Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BYTES_PER_CHECKSUM |
Constructor and Description |
---|
HFileContext() |
HFileContext(HFileContext context)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
HFileContext |
clone() |
int |
getBlocksize() |
int |
getBytesPerChecksum() |
ChecksumType |
getChecksumType() |
Compression.Algorithm |
getCompression() |
DataBlockEncoding |
getDataBlockEncoding() |
Encryption.Context |
getEncryptionContext() |
long |
getFileCreateTime() |
String |
getHFileName() |
long |
heapSize()
HeapSize implementation
NOTE : The heapsize should be altered as and when new state variable are added
|
boolean |
isCompressedOrEncrypted() |
boolean |
isCompressTags() |
boolean |
isIncludesMvcc() |
boolean |
isIncludesTags() |
boolean |
isUseHBaseChecksum() |
void |
setCompressTags(boolean compressTags) |
void |
setEncryptionContext(Encryption.Context cryptoContext) |
void |
setFileCreateTime(long fileCreateTime) |
void |
setIncludesMvcc(boolean includesMvcc) |
void |
setIncludesTags(boolean includesTags) |
String |
toString() |
public static final int DEFAULT_BYTES_PER_CHECKSUM
public HFileContext()
public HFileContext(HFileContext context)
context
- public boolean isCompressedOrEncrypted()
public Compression.Algorithm getCompression()
public boolean isUseHBaseChecksum()
public boolean isIncludesMvcc()
public void setIncludesMvcc(boolean includesMvcc)
public boolean isIncludesTags()
public void setIncludesTags(boolean includesTags)
public void setFileCreateTime(long fileCreateTime)
public boolean isCompressTags()
public void setCompressTags(boolean compressTags)
public ChecksumType getChecksumType()
public int getBytesPerChecksum()
public int getBlocksize()
public long getFileCreateTime()
public DataBlockEncoding getDataBlockEncoding()
public Encryption.Context getEncryptionContext()
public void setEncryptionContext(Encryption.Context cryptoContext)
public String getHFileName()
public long heapSize()
public HFileContext clone()
Copyright © 2007–2019 Cloudera. All rights reserved.