@InterfaceAudience.Private public interface HFileBlockEncodingContext
for decoding| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases the resources used.
|
byte[] |
compressAndEncrypt(byte[] uncompressedBytesWithHeader) |
BlockType |
getBlockType() |
DataBlockEncoding |
getDataBlockEncoding() |
EncodingState |
getEncodingState() |
HFileContext |
getHFileContext() |
void |
postEncoding(BlockType blockType)
Do any action that needs to be performed after the encoding.
|
void |
setEncodingState(EncodingState state)
Sets the encoding state.
|
BlockType getBlockType()
DataBlockEncoding getDataBlockEncoding()
DataBlockEncoding encoding usedvoid postEncoding(BlockType blockType) throws IOException
blockType - IOExceptionvoid close()
HFileContext getHFileContext()
void setEncodingState(EncodingState state)
state - EncodingState getEncodingState()
byte[] compressAndEncrypt(byte[] uncompressedBytesWithHeader)
throws IOException
uncompressedBytesWithHeader - encoded bytes with headerIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.