Class TestHFileWriterV3WithDataEncoders

java.lang.Object
org.apache.hadoop.hbase.io.hfile.TestHFileWriterV3WithDataEncoders

Testing writing a version 3 HFile for all encoded blocks
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final HBaseClassTestRule
     
    private org.apache.hadoop.conf.Configuration
     
    private org.apache.hadoop.hbase.io.encoding.DataBlockEncoding
     
    private org.apache.hadoop.fs.FileSystem
     
    private static final org.slf4j.Logger
     
    private static final Random
     
    private static final HBaseTestingUtil
     
    private boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TestHFileWriterV3WithDataEncoders(boolean useTags, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding dataBlockEncoding)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Collection<Object[]>
     
    private long
    scanBlocks(int entryCount, org.apache.hadoop.hbase.io.hfile.HFileContext context, List<org.apache.hadoop.hbase.KeyValue> keyValues, org.apache.hadoop.fs.FSDataInputStream fsdis, org.apache.hadoop.hbase.io.hfile.FixedFileTrailer trailer, org.apache.hadoop.hbase.io.hfile.HFileContext meta, org.apache.hadoop.hbase.io.hfile.HFileBlock.FSReader blockReader, int entriesRead, int blocksRead, org.apache.hadoop.hbase.io.encoding.DataBlockEncoder encoder)
     
    void
     
    void
     
    private void
    testHFileFormatV3Internals(boolean useTags)
     
    void
     
    private void
    testMidKeyInHFileInternals(boolean useTags)
     
    private void
    writeDataAndReadFromHFile(org.apache.hadoop.fs.Path hfilePath, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compressAlgo, int entryCount, boolean findMidKey, boolean useTags)
     
    private void
    writeKeyValues(int entryCount, boolean useTags, org.apache.hadoop.hbase.io.hfile.HFile.Writer writer, Random rand, List<org.apache.hadoop.hbase.KeyValue> keyValues)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait