Block cache interface.
Cacheable is an interface that allows for an object to be cached.
|CacheableDeserializer<T extends Cacheable>||
Interface for a deserializer.
In-memory BlockCache that may be backed by secondary layer(s).
An abstraction used by the block index.
An interface used by clients to open and iterate an
API required to write an
Iterator for reading
Something that can be written into a block.
An HFile block reader with iteration ability.
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
Iterator over an array of BlockCache CachedBlocks.
Utilty for aggregating counts in CachedBlocks and toString/toJSON CachedBlocks and BlockCaches.
Little data structure to hold counts for a file.
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.
A Bloom filter chunk enqueued for writing
File format for hbase.
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
Reads version 2 HFile blocks from the filesystem.
Data-structure to use caching the header of the NEXT block.
Unified version 2
Provides functionality to write (
A single chunk of the block index in the process of writing.
The reader will always hold the root level index in the memory.
Writes the block index into the output stream.
An implementation of the BlockIndexReader that deals with block keys which are plain byte like MetaBlock or the Bloom Block for ROW bloom.
An implementation of the BlockIndexReader that deals with block keys which are the key part of a cell like the Data block index or the ROW_COL bloom blocks This needs a comparator to work with the Cells
Read-only HFile Context Information.
A builder that helps in building up the HFileContext
Do different kinds of data block encoding according to column family options.
Metadata Map of attributes for HFile written out as HFile Trailer.
Implements pretty-printing functionality for
Almost identical to ConsoleReporter, but extending ScheduledReporter, as extending ConsoleReporter in this version of dropwizard is now too much trouble.
A builder for
Implementation that can handle all hfile versions of
Scanner that operates on encoded data blocks.
Common functionality needed by all versions of
An on heap block cache implementation extended LruBlockCache and only cache index block.
This realisation improve performance of classical LRU cache up to 3 times via reduce GC job.
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.
Class to encode and decode an HFileBlock to and from memecached's resulting byte arrays.
Does not perform any kind of encoding/decoding.
Carries the information on some of the meta data about the HFile Reader
A builder that helps in building up the ReaderContext
A block cache that is memory-aware using
Enum of all built in external block caches.
Various types of HFile blocks.
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–2020 The Apache Software Foundation. All rights reserved.