@InterfaceAudience.Private public interface HFileBlockEncodingContext
for decoding| Modifier and Type | Method and Description | 
|---|---|
| void | close()Releases the resources used. | 
| Bytes | compressAndEncrypt(byte[] data,
                  int offset,
                  int length) | 
| 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
IOExceptionvoid close()
HFileContext getHFileContext()
void setEncodingState(EncodingState state)
EncodingState getEncodingState()
Bytes compressAndEncrypt(byte[] data, int offset, int length) throws IOException
data - encoded bytes with headeroffset - the offset in encoded data to start atlength - the number of encoded bytesIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.