@InterfaceAudience.Private public interface HFileIndexBlockEncoder
Modifier and Type | Interface and Description |
---|---|
static interface |
HFileIndexBlockEncoder.EncodedSeeker |
Modifier and Type | Field and Description |
---|---|
static byte[] |
INDEX_BLOCK_ENCODING
Type of encoding used for index blocks in HFile.
|
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
|
static final byte[] INDEX_BLOCK_ENCODING
void saveMetadata(HFile.Writer writer) throws IOException
writer
- writer for a given HFileIOException
- on disk problemsvoid encode(BlockIndexChunk blockIndexChunk, boolean rootIndexBlock, DataOutput out) throws IOException
IOException
IndexBlockEncoding getIndexBlockEncoding()
HFileIndexBlockEncoder.EncodedSeeker createSeeker()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.