Package | Description |
---|---|
org.apache.hadoop.hbase.io.encoding | |
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
org.apache.hadoop.hbase.io.hfile.trace | |
org.apache.hadoop.hbase.regionserver | |
org.apache.hadoop.hbase.regionserver.storefiletracker |
Modifier and Type | Field and Description |
---|---|
private HFileContext |
HFileBlockDefaultDecodingContext.fileContext |
private HFileContext |
HFileBlockDefaultEncodingContext.fileContext |
private HFileContext |
EncodedDataBlock.meta |
Modifier and Type | Method and Description |
---|---|
HFileContext |
HFileBlockDecodingContext.getHFileContext()
Returns HFile meta information
|
HFileContext |
HFileBlockEncodingContext.getHFileContext()
Returns HFile context information
|
HFileContext |
HFileBlockDefaultDecodingContext.getHFileContext() |
HFileContext |
HFileBlockDefaultEncodingContext.getHFileContext() |
Modifier and Type | Method and Description |
---|---|
HFileBlockDecodingContext |
DataBlockEncoder.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf,
HFileContext meta)
Creates an encoder specific decoding context, which will prepare the data before actual
decoding n * store configuration n * HFile meta data
|
HFileBlockDecodingContext |
AbstractDataBlockEncoder.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf,
HFileContext meta) |
HFileBlockEncodingContext |
DataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf,
DataBlockEncoding encoding,
byte[] headerBytes,
HFileContext meta)
Creates a encoder specific encoding context n * store configuration n * encoding strategy used
n * header bytes to be written, put a dummy header here if the header is unknown n * HFile meta
data
|
HFileBlockEncodingContext |
AbstractDataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf,
DataBlockEncoding encoding,
byte[] header,
HFileContext meta) |
Constructor and Description |
---|
EncodedDataBlock(org.apache.hadoop.conf.Configuration conf,
DataBlockEncoder dataBlockEncoder,
DataBlockEncoding encoding,
byte[] rawKVs,
HFileContext meta)
Create a buffer which will be encoded using dataBlockEncoder.
|
HFileBlockDefaultDecodingContext(org.apache.hadoop.conf.Configuration conf,
HFileContext fileContext) |
HFileBlockDefaultEncodingContext(org.apache.hadoop.conf.Configuration conf,
DataBlockEncoding encoding,
byte[] headerBytes,
HFileContext fileContext) |
Modifier and Type | Field and Description |
---|---|
private HFileContext |
HFileBlockBuilder.fileContext |
private HFileContext |
HFile.WriterFactory.fileContext |
private HFileContext |
HFileBlock.fileContext
Meta data that holds meta information on the hfileblock.
|
private HFileContext |
HFileBlock.Writer.fileContext
Meta data that holds information about the hfileblock
|
private HFileContext |
HFileBlock.FSReaderImpl.fileContext |
private HFileContext |
HFileInfo.hfileContext |
protected HFileContext |
HFileReaderImpl.hfileContext |
protected HFileContext |
HFileWriterImpl.hFileContext |
Modifier and Type | Method and Description |
---|---|
HFileContext |
HFileContextBuilder.build() |
HFileContext |
HFileContext.clone() |
private HFileContext |
HFileInfo.createHFileContext(org.apache.hadoop.fs.Path path,
FixedFileTrailer trailer,
org.apache.hadoop.conf.Configuration conf) |
HFileContext |
HFileReaderImpl.getFileContext() |
HFileContext |
HFileWriterImpl.getFileContext() |
HFileContext |
HFile.Writer.getFileContext()
Return the file context for the HFile this writer belongs to
|
HFileContext |
HFile.Reader.getFileContext()
Return the file context of the HFile this reader belongs to
|
HFileContext |
HFileInfo.getHFileContext() |
HFileContext |
HFileBlock.getHFileContext() |
Modifier and Type | Method and Description |
---|---|
(package private) static HFileBlock |
HFileBlock.createFromBuff(ByteBuff buf,
boolean usesHBaseChecksum,
long offset,
int nextBlockOnDiskSize,
HFileContext fileContext,
ByteBuffAllocator allocator)
Creates a block from an existing buffer starting with a header.
|
private void |
HFileInfo.loadMetaInfo(HFileBlock.BlockIterator blockIter,
HFileContext hfileContext) |
HFileBlockDecodingContext |
NoOpDataBlockEncoder.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf,
HFileContext meta) |
HFileBlockDecodingContext |
HFileDataBlockEncoder.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf,
HFileContext fileContext)
create a encoder specific decoding context for reading.
|
HFileBlockDecodingContext |
HFileDataBlockEncoderImpl.newDataBlockDecodingContext(org.apache.hadoop.conf.Configuration conf,
HFileContext fileContext) |
HFileBlockEncodingContext |
NoOpDataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf,
byte[] dummyHeader,
HFileContext meta) |
HFileBlockEncodingContext |
HFileDataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf,
byte[] headerBytes,
HFileContext fileContext)
Create an encoder specific encoding context object for writing.
|
HFileBlockEncodingContext |
HFileDataBlockEncoderImpl.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf,
byte[] dummyHeader,
HFileContext fileContext) |
(package private) HFileBlock |
HFileBlock.unpack(HFileContext fileContext,
HFileBlock.FSReader reader)
Retrieves the decompressed/decrypted view of this block.
|
HFile.WriterFactory |
HFile.WriterFactory.withFileContext(HFileContext fileContext) |
HFileBlockBuilder |
HFileBlockBuilder.withHFileContext(HFileContext fileContext) |
Constructor and Description |
---|
EncodedScanner(HFile.Reader reader,
boolean cacheBlocks,
boolean pread,
boolean isCompaction,
HFileContext meta,
org.apache.hadoop.conf.Configuration conf) |
ExclusiveMemHFileBlock(BlockType blockType,
int onDiskSizeWithoutHeader,
int uncompressedSizeWithoutHeader,
long prevBlockOffset,
ByteBuff buf,
boolean fillHeader,
long offset,
int nextBlockOnDiskSize,
int onDiskDataSizeWithHeader,
HFileContext fileContext,
ByteBuffAllocator alloc) |
FSReaderImpl(ReaderContext readerContext,
HFileContext fileContext,
ByteBuffAllocator allocator,
org.apache.hadoop.conf.Configuration conf) |
HFileBlock(BlockType blockType,
int onDiskSizeWithoutHeader,
int uncompressedSizeWithoutHeader,
long prevBlockOffset,
ByteBuff buf,
boolean fillHeader,
long offset,
int nextBlockOnDiskSize,
int onDiskDataSizeWithHeader,
HFileContext fileContext,
ByteBuffAllocator allocator)
Creates a new
HFile block from the given fields. |
HFileContext(HFileContext context)
Copy constructor
|
HFileContextBuilder(HFileContext hfc)
Use this constructor if you want to change a few settings only in another context.
|
HFileWriterImpl(org.apache.hadoop.conf.Configuration conf,
CacheConfig cacheConf,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FSDataOutputStream outputStream,
HFileContext fileContext) |
SharedMemHFileBlock(BlockType blockType,
int onDiskSizeWithoutHeader,
int uncompressedSizeWithoutHeader,
long prevBlockOffset,
ByteBuff buf,
boolean fillHeader,
long offset,
int nextBlockOnDiskSize,
int onDiskDataSizeWithHeader,
HFileContext fileContext,
ByteBuffAllocator alloc) |
Writer(org.apache.hadoop.conf.Configuration conf,
HFileDataBlockEncoder dataBlockEncoder,
HFileContext fileContext) |
Writer(org.apache.hadoop.conf.Configuration conf,
HFileDataBlockEncoder dataBlockEncoder,
HFileContext fileContext,
ByteBuffAllocator allocator) |
Modifier and Type | Field and Description |
---|---|
private HFileContext |
HFileContextAttributesBuilderConsumer.hFileContext |
Constructor and Description |
---|
HFileContextAttributesBuilderConsumer(HFileContext hFileContext) |
Modifier and Type | Field and Description |
---|---|
private HFileContext |
StoreFileWriter.Builder.fileContext |
Modifier and Type | Method and Description |
---|---|
StoreFileWriter.Builder |
StoreFileWriter.Builder.withFileContext(HFileContext fileContext) |
Constructor and Description |
---|
StoreFileWriter(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf,
CacheConfig cacheConf,
BloomType bloomType,
long maxKeys,
InetSocketAddress[] favoredNodes,
HFileContext fileContext,
boolean shouldDropCacheBehind,
Supplier<Collection<HStoreFile>> compactedFilesSupplier)
Creates an HFile.Writer that also write helpful meta data.
|
Modifier and Type | Method and Description |
---|---|
private HFileContext |
StoreFileTrackerBase.createFileContext(Compression.Algorithm compression,
boolean includeMVCCReadpoint,
boolean includesTag,
Encryption.Context encryptionContext) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.