|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HFileBlockEncodingContext
An encoding context that is created by a writer's encoder, and is shared across the writer's whole lifetime.
for decoding| Method Summary | |
|---|---|
void |
close()
Releases the resources used. |
BlockType |
getBlockType()
|
Compression.Algorithm |
getCompression()
|
DataBlockEncoding |
getDataBlockEncoding()
|
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 |
| Method Detail |
|---|
OutputStream getOutputStreamForEncoder()
byte[] getOnDiskBytesWithHeader()
byte[] getUncompressedBytesWithHeader()
BlockType getBlockType()
Compression.Algorithm getCompression()
void setDummyHeader(byte[] headerBytes)
DataBlockEncoding getDataBlockEncoding()
DataBlockEncoding encoding used
void postEncoding(BlockType blockType)
throws IOException
getCompression() returns non-null
compression algorithm
blockType -
IOExceptionvoid close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||