Package org.apache.hadoop.hbase.io.hfile

Provides the hbase data+index+metadata file.

See:
          Description

Interface Summary
BlockCache Block cache interface.
Cacheable Cacheable is an interface that allows for an object to be cached.
CacheableDeserializer<T extends Cacheable> Interface for a deserializer.
HFile.CachingBlockReader An abstraction used by the block index
HFile.Reader An interface used by clients to open and iterate an HFile.
HFile.Writer API required to write an HFile
HFileBlock.BlockIterator An interface allowing to iterate HFileBlocks.
HFileBlock.BlockWritable Something that can be written into a block.
HFileBlock.FSReader A full-fledged reader with iteration ability.
HFileDataBlockEncoder Controls what kind of data block encoding is used.
HFileScanner A scanner allows you to position yourself within a HFile and scan through it.
InlineBlockWriter A way to write "inline" blocks into an HFile.
 

Class Summary
AbstractHFileReader Common functionality needed by all versions of HFile readers.
AbstractHFileReader.Scanner  
AbstractHFileWriter Common functionality needed by all versions of HFile writers.
BlockCacheColumnFamilySummary BlockCacheColumnFamilySummary represents a summary of the blockCache usage at Table/ColumnFamily granularity.
BlockCacheKey Cache Key for use with implementations of BlockCache
BlockWithScanInfo BlockWithScanInfo is wrapper class for HFileBlock with other attributes.
CacheConfig Stores all of the cache objects and configuration for a single HFile.
CachedBlock Represents an entry in the LruBlockCache.
CachedBlockQueue A memory-bound queue that will grow until an element brings total size >= maxSize.
CacheStats Class that implements cache metrics.
ChecksumUtil Utility methods to compute and validate checksums.
Compression Compression related stuff.
DoubleBlockCache DoubleBlockCache is an abstraction layer that combines two caches, the smaller onHeapCache and the larger offHeapCache.
FixedFileTrailer The HFile has a fixed trailer which contains offsets to other variable parts of the file.
HFile File format for hbase.
HFile.WriterFactory This variety of ways to construct writers is used throughout the code, and we want to be able to swap writer implementations.
HFileBlock Reading HFile version 1 and 2 blocks, and writing version 2 blocks.
HFileBlock.Writer Unified version 2 HFile block writer.
HFileBlockIndex Provides functionality to write (HFileBlockIndex.BlockIndexWriter) and read (HFileBlockIndex.BlockIndexReader) single-level and multi-level block indexes.
HFileBlockIndex.BlockIndexReader The reader will always hold the root level index in the memory.
HFileBlockIndex.BlockIndexWriter Writes the block index into the output stream.
HFileDataBlockEncoderImpl Do different kinds of data block encoding according to column family options.
HFilePrettyPrinter Implements pretty-printing functionality for HFiles.
HFileReaderV1 HFile reader for version 1.
HFileReaderV1.AbstractScannerV1  
HFileReaderV1.ScannerV1 Implementation of HFileScanner interface.
HFileReaderV2 HFile reader for version 2.
HFileReaderV2.AbstractScannerV2  
HFileReaderV2.EncodedScannerV2 ScannerV2 that operates on encoded data blocks.
HFileReaderV2.ScannerV2 Implementation of HFileScanner interface.
HFileWriterV1 Writes version 1 HFiles.
HFileWriterV2 Writes HFile format version 2.
LruBlockCache A block cache implementation that is memory-aware using HeapSize, memory-bound using an LRU eviction algorithm, and concurrent: backed by a ConcurrentHashMap and with a non-blocking eviction thread giving constant-time LruBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable, boolean) and LruBlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey, boolean, boolean) operations.
NoOpDataBlockEncoder Does not perform any kind of encoding/decoding.
ReusableStreamGzipCodec Fixes an inefficiency in Hadoop's Gzip codec, allowing to reuse compression streams.
ReusableStreamGzipCodec.ReusableGzipOutputStream A bridge that wraps around a DeflaterOutputStream to make it a CompressionOutputStream.
SimpleBlockCache Simple one RFile soft reference cache.
 

Enum Summary
BlockType Various types of HFile blocks.
BlockType.BlockCategory  
Compression.Algorithm Compression algorithms.
 

Exception Summary
AbstractHFileReader.BlockIndexNotLoadedException  
AbstractHFileReader.NotSeekedException An exception thrown when an operation requiring a scanner to be seeked is invoked on a scanner that is not seeked.
CorruptHFileException This exception is thrown when attempts to read an HFile fail due to corruption or truncation issues.
InvalidHFileException Thrown when an invalid HFile format is detected
 

Package org.apache.hadoop.hbase.io.hfile Description

Provides the hbase data+index+metadata file.



Copyright © 2014 The Apache Software Foundation. All Rights Reserved.