限定符和类型 | 字段和说明 |
---|---|
static int |
DEFAULT_BYTES_PER_CHECKSUM |
构造器和说明 |
---|
HFileContext() |
HFileContext(HFileContext context)
Copy constructor
|
限定符和类型 | 方法和说明 |
---|---|
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–2018 The Apache Software Foundation. All rights reserved.