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

    Fields
    Modifier and Type
    Field
    Description
    (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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • encoderSeeker

      org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder.EncodedSeeker encoderSeeker
  • Constructor Details

  • Method Details

    • saveMetadata

      public void saveMetadata(org.apache.hadoop.hbase.io.hfile.HFile.Writer writer) throws IOException
      Specified by:
      saveMetadata in interface org.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 interface org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
      Throws:
      IOException
    • getIndexBlockEncoding

      public org.apache.hadoop.hbase.io.encoding.IndexBlockEncoding getIndexBlockEncoding()
      Specified by:
      getIndexBlockEncoding in interface org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder
    • createSeeker

      public org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder.EncodedSeeker createSeeker()
      Specified by:
      createSeeker in interface org.apache.hadoop.hbase.io.hfile.HFileIndexBlockEncoder