Uses of Package
org.apache.hadoop.hbase.io.hfile
Package
Description
Table of Contents
Provides implementations of
HFile
and HFile
BlockCache
.-
-
-
ClassDescriptionStores all of the cache objects and configuration for a single HFile.Metadata Map of attributes for HFile written out as HFile Trailer.A scanner allows you to position yourself within a HFile and scan through it.Carries the information on some of the meta data about the HFile Reader
-
ClassDescriptionVarious types of HFile blocks.Read-only HFile Context Information.
-
ClassDescriptionSnapshot of block cache age in cache.Block cache interface.Cache Key for use with implementations of
BlockCache
Use one of these to keep a running account of cached blocks by file.Allows for defining different compression rate predicates on its implementing classes.Various types of HFile blocks.BlockWithScanInfo is wrapper class for HFileBlock with other attributes.Cacheable is an interface that allows for an object to be cached.Interface for a deserializer.Stores all of the cache objects and configuration for a single HFile.Class that implements cache metrics.CombinedBlockCache is an abstraction layer that combinesFirstLevelBlockCache
andBucketCache
.This exception is thrown when attempts to read an HFile fail due to corruption or truncation issues.TheByteBuffAllocator
won't allocate pooled heapByteBuff
now; at the same time, if allocate an off-heapByteBuff
from allocator, then it must be a pooled one.In-memory BlockCache that may be backed by secondary layer(s).TheHFile
has a fixed trailer which contains offsets to other variable parts of the file.An abstraction used by the block index.An interface used by clients to open and iterate anHFile
.API required to write anHFile
This variety of ways to construct writers is used throughout the code, and we want to be able to swap writer implementations.Cacheable Blocks of anHFile
version 2 file.Read-only HFile Context Information.A builder that helps in building up the HFileContextControls what kind of data block encoding is used.Controls what kind of index block encoding is used.Metadata Map of attributes for HFile written out as HFile Trailer.Implementation that can handle all hfile versions ofHFile.Reader
.A scanner allows you to position yourself within a HFile and scan through it.A way to write "inline" blocks into anHFile
.A block cache implementation that is memory-aware usingHeapSize
, memory-bound using an LRU eviction algorithm, and concurrent: backed by aConcurrentHashMap
and with a non-blocking eviction thread giving constant-timeLruBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable, boolean)
andLruBlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey, boolean, boolean, boolean)
operations.Represents an entry in theLruBlockCache
.Does not perform any kind of encoding/decoding.Does not perform any kind of encoding/decoding.Carries the information on some of the meta data about the HFile ReaderA builder that helps in building up the ReaderContextBlockCache which is resizable. -
-
ClassDescriptionBlock cache interface.Various types of HFile blocks.Stores all of the cache objects and configuration for a single HFile.An interface used by clients to open and iterate an
HFile
.Read-only HFile Context Information.Controls what kind of data block encoding is used.Metadata Map of attributes for HFile written out as HFile Trailer.A scanner allows you to position yourself within a HFile and scan through it.Carries the information on some of the meta data about the HFile Reader -
ClassDescriptionStores all of the cache objects and configuration for a single HFile.An interface used by clients to open and iterate an
HFile
.API required to write anHFile