@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 java.io.IOException
blockType - java.io.IOExceptionvoid close()
HFileContext getHFileContext()
void setEncodingState(EncodingState state)
state - EncodingState getEncodingState()
byte[] compressAndEncrypt(byte[] uncompressedBytesWithHeader)
throws java.io.IOException
uncompressedBytesWithHeader - encoded bytes with headerjava.io.IOException