Block cache interface.
Cacheable is an interface that allows for an object to be cached.
|CacheableDeserializer<T extends Cacheable>||
Interface for a deserializer.
An abstraction used by the block index.
An interface used by clients to open and iterate an
API required to write an
Controls what kind of data block encoding is used.
A scanner allows you to position yourself within a HFile and scan through it.
A way to write "inline" blocks into an
BlockCache which is resizable.
Snapshot of block cache age in cache.
Cache Key for use with implementations of
Utilty for aggregating counts in CachedBlocks and toString/toJSON CachedBlocks and BlockCaches.
Use one of these to keep a running account of cached blocks by file.
BlockWithScanInfo is wrapper class for HFileBlock with other attributes.
This class is used to manage the identifiers for
Stores all of the cache objects and configuration for a single HFile.
Class that implements cache metrics.
Utility methods to compute and validate checksums.
CombinedBlockCache is an abstraction layer that combines
File format for hbase.
Metadata for this file.
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 an
Provides functionality to write (
Writes the block index into the output stream.
This carries the information on some of the meta data about the HFile.
A builder that helps in building up the HFileContext
Do different kinds of data block encoding according to column family options.
Implements pretty-printing functionality for
Implementation that can handle all hfile versions of
Scanner that operates on encoded data blocks.
Common functionality needed by all versions of
A block cache implementation that is memory-aware using
Represents an entry in the
A memory-bound queue that will grow until an element brings total size >= maxSize.
Class to store blocks into memcached.
Does not perform any kind of encoding/decoding.
Various types of HFile blocks.
SHARED means when this Cacheable is read back from cache it refers to the same memory area as used by the cache for caching it.
This exception is thrown when attempts to read an HFile fail due to corruption or truncation issues.
An exception thrown when an operation requiring a scanner to be seeked is invoked on a scanner that is not seeked.
Thrown when an invalid HFile format is detected
BlockCache. Caches are configured (and instantiated) by
CacheConfig. See head of the
CacheConfigclass for constants that define cache options and configuration keys to use setting cache options. Cache implementations include the default, native on-heap
BucketCachethat has a bunch of deploy formats including acting as a L2 for LruBlockCache -- when a block is evicted from LruBlockCache, it goes to the BucketCache and when we search a block, we look in both places -- or, the most common deploy type, using
CombinedBlockCache, BucketCache is used as a host for data blocks with meta blocks in an instance of LruBlockCache. BucketCache can also be onheap, offheap, and file-backed.
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.