Uses of Class
org.apache.hadoop.hbase.io.hfile.HFileContext

Packages that use org.apache.hadoop.hbase.io.hfile.HFileContext
Package
Description
 
Provides implementations of HFile and HFile BlockCache.
 
  • Uses of org.apache.hadoop.hbase.io.hfile.HFileContext in org.apache.hadoop.hbase.io.encoding

    Methods in org.apache.hadoop.hbase.io.encoding that return org.apache.hadoop.hbase.io.hfile.HFileContext in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.io.hfile.HFileContext
    HFileBlockDecodingContext.getHFileContext()
    Returns HFile meta information
    org.apache.hadoop.hbase.io.hfile.HFileContext
    HFileBlockDefaultDecodingContext.getHFileContext()
     
    org.apache.hadoop.hbase.io.hfile.HFileContext
    HFileBlockDefaultEncodingContext.getHFileContext()
     
    org.apache.hadoop.hbase.io.hfile.HFileContext
    HFileBlockEncodingContext.getHFileContext()
    Returns HFile context information
    Methods in org.apache.hadoop.hbase.io.encoding with parameters of type org.apache.hadoop.hbase.io.hfile.HFileContext in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext
    AbstractDataBlockEncoder.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext meta)
     
    org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext
    DataBlockEncoder.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext meta)
    Creates an encoder specific decoding context, which will prepare the data before actual decoding store configuration HFile meta data
    org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext
    AbstractDataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding, byte[] header, org.apache.hadoop.hbase.io.hfile.HFileContext meta)
     
    org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext
    DataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding, byte[] headerBytes, org.apache.hadoop.hbase.io.hfile.HFileContext meta)
    Creates a encoder specific encoding context store configuration encoding strategy used header bytes to be written, put a dummy header here if the header is unknown HFile meta data
    Constructors in org.apache.hadoop.hbase.io.encoding with parameters of type org.apache.hadoop.hbase.io.hfile.HFileContext in in
    Modifier
    Constructor
    Description
     
    EncodedDataBlock(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.encoding.DataBlockEncoder dataBlockEncoder, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding, byte[] rawKVs, org.apache.hadoop.hbase.io.hfile.HFileContext meta)
    Create a buffer which will be encoded using dataBlockEncoder.
     
    HFileBlockDefaultDecodingContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext)
     
     
    HFileBlockDefaultEncodingContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding, byte[] headerBytes, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext)
     
  • Uses of org.apache.hadoop.hbase.io.hfile.HFileContext in org.apache.hadoop.hbase.io.hfile

    Fields in org.apache.hadoop.hbase.io.hfile declared as org.apache.hadoop.hbase.io.hfile.HFileContext in in
    Modifier and Type
    Field
    Description
    protected org.apache.hadoop.hbase.io.hfile.HFileContext
    HFileReaderImpl.hfileContext
     
    protected final org.apache.hadoop.hbase.io.hfile.HFileContext
    HFileWriterImpl.hFileContext
     
    Methods in org.apache.hadoop.hbase.io.hfile that return org.apache.hadoop.hbase.io.hfile.HFileContext in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.io.hfile.HFileContext
    HFileContextBuilder.build()
     
    org.apache.hadoop.hbase.io.hfile.HFileContext
    HFileContext.clone()
     
    org.apache.hadoop.hbase.io.hfile.HFileContext
    HFile.Reader.getFileContext()
    Return the file context of the HFile this reader belongs to
    org.apache.hadoop.hbase.io.hfile.HFileContext
    HFile.Writer.getFileContext()
    Return the file context for the HFile this writer belongs to
    org.apache.hadoop.hbase.io.hfile.HFileContext
    HFileReaderImpl.getFileContext()
     
    org.apache.hadoop.hbase.io.hfile.HFileContext
    HFileWriterImpl.getFileContext()
     
    org.apache.hadoop.hbase.io.hfile.HFileContext
    HFileBlock.getHFileContext()
     
    org.apache.hadoop.hbase.io.hfile.HFileContext
    HFileInfo.getHFileContext()
     
    Methods in org.apache.hadoop.hbase.io.hfile with parameters of type org.apache.hadoop.hbase.io.hfile.HFileContext in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext
    HFileDataBlockEncoder.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext)
    create a encoder specific decoding context for reading.
    org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext
    HFileDataBlockEncoderImpl.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext)
     
    org.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContext
    NoOpDataBlockEncoder.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.HFileContext meta)
     
    org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext
    HFileDataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf, byte[] headerBytes, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext)
    Create an encoder specific encoding context object for writing.
    org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext
    HFileDataBlockEncoderImpl.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf, byte[] dummyHeader, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext)
     
    org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext
    NoOpDataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf, byte[] dummyHeader, org.apache.hadoop.hbase.io.hfile.HFileContext meta)
     
    void
    BlockCompressedSizePredicator.updateLatestBlockSizes(org.apache.hadoop.hbase.io.hfile.HFileContext context, int uncompressed, int compressed)
    Updates the predicator with both compressed and uncompressed sizes of latest block written.
    void
    PreviousBlockCompressionRatePredicator.updateLatestBlockSizes(org.apache.hadoop.hbase.io.hfile.HFileContext context, int uncompressed, int compressed)
    Recalculates compression rate for the last block and adjusts the block size limit as: BLOCK_SIZE * (uncompressed/compressed).
    void
    UncompressedBlockSizePredicator.updateLatestBlockSizes(org.apache.hadoop.hbase.io.hfile.HFileContext context, int uncompressed, int compressed)
    Empty implementation.
    org.apache.hadoop.hbase.io.hfile.HFile.WriterFactory
    HFile.WriterFactory.withFileContext(org.apache.hadoop.hbase.io.hfile.HFileContext fileContext)
     
    org.apache.hadoop.hbase.io.hfile.HFileBlockBuilder
    HFileBlockBuilder.withHFileContext(org.apache.hadoop.hbase.io.hfile.HFileContext fileContext)
     
    Constructors in org.apache.hadoop.hbase.io.hfile with parameters of type org.apache.hadoop.hbase.io.hfile.HFileContext in in
    Modifier
    Constructor
    Description
     
    EncodedScanner(org.apache.hadoop.hbase.io.hfile.HFile.Reader reader, boolean cacheBlocks, boolean pread, boolean isCompaction, org.apache.hadoop.hbase.io.hfile.HFileContext meta, org.apache.hadoop.conf.Configuration conf)
     
     
    HFileBlock(org.apache.hadoop.hbase.io.hfile.BlockType blockType, int onDiskSizeWithoutHeader, int uncompressedSizeWithoutHeader, long prevBlockOffset, org.apache.hadoop.hbase.nio.ByteBuff buf, boolean fillHeader, long offset, int nextBlockOnDiskSize, int onDiskDataSizeWithHeader, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext, org.apache.hadoop.hbase.io.ByteBuffAllocator allocator)
    Creates a new HFile block from the given fields.
     
    HFileContext(org.apache.hadoop.hbase.io.hfile.HFileContext context)
    Copy constructor
     
    HFileContextBuilder(org.apache.hadoop.hbase.io.hfile.HFileContext hfc)
    Use this constructor if you want to change a few settings only in another context.
     
    HFileWriterImpl(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.CacheConfig cacheConf, org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FSDataOutputStream outputStream, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext)
     
  • Uses of org.apache.hadoop.hbase.io.hfile.HFileContext in org.apache.hadoop.hbase.regionserver

    Methods in org.apache.hadoop.hbase.regionserver with parameters of type org.apache.hadoop.hbase.io.hfile.HFileContext in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.regionserver.StoreFileWriter.Builder
    StoreFileWriter.Builder.withFileContext(org.apache.hadoop.hbase.io.hfile.HFileContext fileContext)