@InterfaceAudience.Private public class NoOpIndexBlockEncoder extends Object implements HFileIndexBlockEncoder
| Modifier and Type | Class and Description |
|---|---|
protected static class |
NoOpIndexBlockEncoder.NoOpEncodedSeeker |
HFileIndexBlockEncoder.EncodedSeeker| Modifier and Type | Field and Description |
|---|---|
static NoOpIndexBlockEncoder |
INSTANCE |
INDEX_BLOCK_ENCODING| Modifier and Type | Method and Description |
|---|---|
HFileIndexBlockEncoder.EncodedSeeker |
createSeeker() |
void |
encode(BlockIndexChunk blockIndexChunk,
boolean rootIndexBlock,
DataOutput out) |
IndexBlockEncoding |
getIndexBlockEncoding()
Returns the index block encoding
|
void |
saveMetadata(HFile.Writer writer)
Save metadata in HFile which will be written to disk
|
String |
toString() |
public static final NoOpIndexBlockEncoder INSTANCE
public void saveMetadata(HFile.Writer writer)
HFileIndexBlockEncodersaveMetadata in interface HFileIndexBlockEncoderwriter - writer for a given HFilepublic void encode(BlockIndexChunk blockIndexChunk, boolean rootIndexBlock, DataOutput out) throws IOException
encode in interface HFileIndexBlockEncoderIOExceptionpublic IndexBlockEncoding getIndexBlockEncoding()
HFileIndexBlockEncodergetIndexBlockEncoding in interface HFileIndexBlockEncoderpublic HFileIndexBlockEncoder.EncodedSeeker createSeeker()
createSeeker in interface HFileIndexBlockEncoderCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.