Package org.apache.hadoop.hbase.io.hfile
Class TestHFileBlockIndex.MyEncoder
java.lang.Object
org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex.MyEncoder
- All Implemented Interfaces:
org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
- Enclosing class:
- TestHFileBlockIndex
static class TestHFileBlockIndex.MyEncoder
extends Object
implements org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder.EncodedSeeker
-
Field Summary
Modifier and TypeFieldDescription(package private) org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder.EncodedSeeker
Fields inherited from interface org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
INDEX_BLOCK_ENCODING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder.EncodedSeeker
void
encode
(org.apache.hadoop.hbase.io.hfile.BlockIndexChunk blockIndexChunk, boolean rootIndexBlock, DataOutput out) org.apache.hadoop.hbase.io.encoding.IndexBlockEncoding
void
saveMetadata
(org.apache.hadoop.hbase.io.hfile.HFile.Writer writer)
-
Field Details
-
encoderSeeker
org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder.EncodedSeeker encoderSeeker
-
-
Constructor Details
-
MyEncoder
-
-
Method Details
-
saveMetadata
- Specified by:
saveMetadata
in interfaceorg.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
- Throws:
IOException
-
encode
public void encode(org.apache.hadoop.hbase.io.hfile.BlockIndexChunk blockIndexChunk, boolean rootIndexBlock, DataOutput out) throws IOException - Specified by:
encode
in interfaceorg.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
- Throws:
IOException
-
getIndexBlockEncoding
- Specified by:
getIndexBlockEncoding
in interfaceorg.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
-
createSeeker
- Specified by:
createSeeker
in interfaceorg.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
-