@InterfaceAudience.Private public abstract class AbstractDataBlockEncoder extends Object implements DataBlockEncoder
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractDataBlockEncoder.AbstractEncodedSeeker |
DataBlockEncoder.EncodedSeeker| Constructor and Description |
|---|
AbstractDataBlockEncoder() |
| Modifier and Type | Method and Description |
|---|---|
HFileBlockDecodingContext |
newDataBlockDecodingContext(HFileContext meta)
Creates an encoder specific decoding context, which will prepare the data
before actual decoding
|
HFileBlockEncodingContext |
newDataBlockEncodingContext(DataBlockEncoding encoding,
byte[] header,
HFileContext meta)
Creates a encoder specific encoding context
|
protected void |
postEncoding(HFileBlockEncodingContext encodingCtx) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSeeker, decodeKeyValues, encode, endBlockEncoding, getFirstKeyInBlock, startBlockEncodingpublic HFileBlockEncodingContext newDataBlockEncodingContext(DataBlockEncoding encoding, byte[] header, HFileContext meta)
DataBlockEncodernewDataBlockEncodingContext in interface DataBlockEncoderencoding - encoding strategy usedheader - header bytes to be written, put a dummy header here if the header
is unknownmeta - HFile meta datapublic HFileBlockDecodingContext newDataBlockDecodingContext(HFileContext meta)
DataBlockEncodernewDataBlockDecodingContext in interface DataBlockEncodermeta - HFile meta dataprotected void postEncoding(HFileBlockEncodingContext encodingCtx) throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.