@InterfaceAudience.Private public interface HFileBlockEncodingContext
for decoding
Modifier and Type | Method and Description |
---|---|
void |
close()
Releases the resources used.
|
BlockType |
getBlockType() |
DataBlockEncoding |
getDataBlockEncoding() |
HFileContext |
getHFileContext() |
byte[] |
getOnDiskBytesWithHeader() |
OutputStream |
getOutputStreamForEncoder() |
byte[] |
getUncompressedBytesWithHeader() |
void |
postEncoding(BlockType blockType)
Do any action that needs to be performed after the encoding.
|
void |
setDummyHeader(byte[] headerBytes)
sets the dummy header bytes
|
OutputStream getOutputStreamForEncoder()
byte[] getOnDiskBytesWithHeader()
byte[] getUncompressedBytesWithHeader()
BlockType getBlockType()
void setDummyHeader(byte[] headerBytes)
DataBlockEncoding getDataBlockEncoding()
DataBlockEncoding
encoding usedvoid postEncoding(BlockType blockType) throws IOException
blockType
- IOException
void close()
HFileContext getHFileContext()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.