@InterfaceAudience.Private public interface HFileBlockDecodingContext
for encoding
Modifier and Type | Method and Description |
---|---|
HFileContext |
getHFileContext()
Returns HFile meta information
|
void |
prepareDecoding(int onDiskSizeWithoutHeader,
int uncompressedSizeWithoutHeader,
ByteBuff blockBufferWithoutHeader,
ByteBuff onDiskBlock)
Perform all actions that need to be done before the encoder's real decoding process.
|
void prepareDecoding(int onDiskSizeWithoutHeader, int uncompressedSizeWithoutHeader, ByteBuff blockBufferWithoutHeader, ByteBuff onDiskBlock) throws IOException
HFileContext.getCompression()
returns a valid
compression algorithm. numBytes after block and encoding headers numBytes without header
required to store the block after decompressing (not decoding) ByteBuffer pointed after the
header but before the data on disk data to be decodedIOException
HFileContext getHFileContext()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.