@InterfaceAudience.Private public class HFileContext extends Object implements HeapSize, Cloneable
HFileContextBuilder
(See HFileInfo and the HFile
Trailer class).HFileContextBuilder
Modifier and Type | Field and Description |
---|---|
static long |
FIXED_OVERHEAD |
Constructor and Description |
---|
HFileContext() |
HFileContext(HFileContext context)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
HFileContext |
clone() |
int |
getBlocksize() |
int |
getBytesPerChecksum() |
CellComparator |
getCellComparator() |
ChecksumType |
getChecksumType() |
byte[] |
getColumnFamily() |
Compression.Algorithm |
getCompression() |
DataBlockEncoding |
getDataBlockEncoding() |
Encryption.Context |
getEncryptionContext() |
long |
getFileCreateTime() |
String |
getHFileName() |
IndexBlockEncoding |
getIndexBlockEncoding() |
byte[] |
getTableName() |
long |
heapSize()
HeapSize implementation.
|
boolean |
isCompressedOrEncrypted()
Returns true when on-disk blocks are compressed, and/or encrypted; false otherwise.
|
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 HFileContext()
public HFileContext(HFileContext 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 IndexBlockEncoding getIndexBlockEncoding()
public Encryption.Context getEncryptionContext()
public void setEncryptionContext(Encryption.Context cryptoContext)
public String getHFileName()
public byte[] getColumnFamily()
public byte[] getTableName()
public CellComparator getCellComparator()
public long heapSize()
public HFileContext clone()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.