static class TestHFileBlockIndex.MyEncoder extends Object implements org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder.EncodedSeeker |
encoderSeeker |
Constructor and Description |
---|
MyEncoder() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder.EncodedSeeker |
createSeeker() |
void |
encode(org.apache.hadoop.hbase.io.hfile.BlockIndexChunk blockIndexChunk,
boolean rootIndexBlock,
DataOutput out) |
org.apache.hadoop.hbase.io.encoding.IndexBlockEncoding |
getIndexBlockEncoding() |
void |
saveMetadata(org.apache.hadoop.hbase.io.hfile.HFile.Writer writer) |
org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder.EncodedSeeker encoderSeeker
MyEncoder()
public void saveMetadata(org.apache.hadoop.hbase.io.hfile.HFile.Writer writer) throws IOException
saveMetadata
in interface org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
IOException
public void encode(org.apache.hadoop.hbase.io.hfile.BlockIndexChunk blockIndexChunk, boolean rootIndexBlock, DataOutput out) throws IOException
encode
in interface org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
IOException
public org.apache.hadoop.hbase.io.encoding.IndexBlockEncoding getIndexBlockEncoding()
getIndexBlockEncoding
in interface org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
public org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder.EncodedSeeker createSeeker()
createSeeker
in interface org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.