Package org.apache.hadoop.hbase.util

Interface Summary
BloomFilter Defines the general behavior of a bloom filter.
BloomFilterBase Common methods Bloom filter methods required at read and write time.
BloomFilterWriter Specifies methods needed to add elements to a Bloom filter and serialize the resulting Bloom filter as a sequence of bytes.
CancelableProgressable Similar interface as Progressable but returns a boolean to support canceling the operation.
EnvironmentEdge Has some basic interaction with the environment.
FSVisitor.LogFileVisitor  
FSVisitor.RecoveredEditsVisitor  
FSVisitor.StoreFileVisitor  
HBaseFsck.ErrorReporter  
KeyRange A key range use in split coverage.
MetaUtils.ScannerListener Used by scanRootRegion and scanMetaRegion to call back the caller so it can process the data for a row.
ModifyRegionUtils.RegionFillTask  
PoolMap.Pool<R>  
RegionSplitter.SplitAlgorithm A generic interface for the RegionSplitter code to use for all it's functionality.
 

Class Summary
AbstractHBaseTool Common base class used for HBase command-line tools.
Addressing Utility for network addresses, resolving and naming.
Base64 Encodes and decodes to and from Base64 notation.
Base64.Base64InputStream A Base64.Base64InputStream will read data from another InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.Base64OutputStream A Base64.Base64OutputStream will write data to another OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
BloomFilterFactory Handles Bloom filter initialization based on configuration and serialized metadata in the reader and writer of StoreFile.
ByteBloomFilter Implements a Bloom filter, as defined by Bloom in 1970.
ByteBufferOutputStream Not thread safe!
ByteBufferUtils Utility functions for working with byte buffers, such as reading/writing variable-length long numbers.
Bytes Utility class that handles byte arrays, conversions to/from other types, comparisons, hash code generation, manufacturing keys for HashMaps or HashSets, etc.
Bytes.ByteArrayComparator Byte array comparator class.
Bytes.RowEndKeyComparator A Bytes.ByteArrayComparator that treats the empty array as the largest value.
ChecksumFactory Utility class that is used to generate a Checksum object.
Classes Utilities for class manipulation.
ClassLoaderBase Base class loader that defines couple shared constants used by sub-classes.
ClassSize Class for determining the "size" of a class, an attempt to calculate the actual bytes that an object of this class will occupy in memory The core of this class is taken from the Derby project
CollectionBackedScanner Utility scanner that wraps a sortable collection and serves as a KeyValueScanner.
CompoundBloomFilter A Bloom filter implementation built on top of ByteBloomFilter, encapsulating a set of fixed-size Bloom filters written out at the time of HFile generation into the data block stream, and loaded on demand at query time.
CompoundBloomFilterBase  
CompoundBloomFilterWriter Adds methods required for writing a compound Bloom filter to the data section of an HFile to the CompoundBloomFilter class.
CompressionTest Compression validation test.
CoprocessorClassLoader ClassLoader used to load classes for Coprocessor instances.
DefaultEnvironmentEdge Default implementation of an environment edge.
DirectMemoryUtils  
DynamicClassLoader This is a class loader that can load classes dynamically from new jar files under a configured folder.
EnvironmentEdgeManager Manages a singleton instance of the environment edge.
FSHDFSUtils Implementation for hdfs
FSMapRUtils MapR implementation.
FSTableDescriptors Implementation of TableDescriptors that reads descriptors from the passed filesystem.
FSUtils Utility methods for interacting with the underlying file system.
FSUtils.DirFilter A PathFilter that returns directories.
FSUtils.FamilyDirFilter Filter for all dirs that are legal column family names.
FSUtils.HFileFilter Filter for HFiles that excludes reference files.
FSUtils.RegionDirFilter Filter for all dirs that don't start with '.'
FSVisitor Utility methods for interacting with the hbase.root file system.
GetJavaProperty A generic way for querying Java properties.
Hash This class represents a common API for hashing functions.
HashedBytes This class encapsulates a byte array and overrides hashCode and equals so that it's identity is based on the data rather than the array instance.
HasThread Abstract class which contains a Thread and delegates the common Thread methods to that instance.
HBaseConfTool Tool that prints out a configuration.
HBaseFsck HBaseFsck (hbck) is a tool for checking and repairing region consistency and table integrity problems in a corrupted HBase.
HBaseFsck.HbckInfo Maintain information about a particular region.
HBaseFsckRepair This class contains helper methods that repair parts of hbase's filesystem contents.
HFileArchiveUtil Helper class for all utilities related to archival/retrieval of HFiles
IdLock Allows multiple concurrent clients to lock on a numeric id with a minimal memory overhead.
IdLock.Entry An entry returned to the client as a lock object
IncrementingEnvironmentEdge Uses an incrementing algorithm instead of the default.
InfoServer Create a Jetty embedded server to answer http requests.
JenkinsHash Produces 32-bit hash for hash table lookup.
JVMClusterUtil Utility used running a cluster all in the one JVM.
JVMClusterUtil.MasterThread Datastructure to hold Master Thread and Master instance
JVMClusterUtil.RegionServerThread Datastructure to hold RegionServer Thread and RegionServer instance
JvmVersion Certain JVM versions are known to be unstable with HBase.
Keying Utility creating hbase friendly keys.
ManualEnvironmentEdge An environment edge that uses a manually set value.
MD5Hash Utility class for MD5 MD5 hash produces a 128-bit digest.
Merge Utility that can merge any two regions in the same table: adjacent, overlapping or disjoint.
MetaUtils Contains utility methods for manipulating HBase meta tables.
Methods  
ModifyRegionUtils Utility methods for interacting with the regions.
MurmurHash This is a very fast, non-cryptographic hash suitable for general hash-based lookup.
Objects Utility methods for interacting with object instances.
Pair<T1,T2> A generic class for pairs.
PairOfSameType<T> A generic, immutable class for pairs of objects both of type T.
PoolMap<K,V> The PoolMap maps a key to a collection of values, the elements of which are managed by a pool.
ProtoUtil  
RegionSplitCalculator<R extends KeyRange> This is a generic region split calculator.
RegionSplitter The RegionSplitter class provides several utilities to help in the administration lifecycle for developers who choose to manually split regions instead of having HBase handle that automatically.
RegionSplitter.HexStringSplit HexStringSplit is a well-known RegionSplitter.SplitAlgorithm for choosing region boundaries.
RegionSplitter.UniformSplit A SplitAlgorithm that divides the space of possible keys evenly.
RetryCounter  
RetryCounterFactory  
ServerCommandLine Base class for command lines that start up various HBase daemons.
ShutdownHookManager This class provides ShutdownHookManager shims for HBase to interact with the Hadoop 1.0.x and the Hadoop 2.0+ series.
SizeBasedThrottler Utility class that can be used to implement queues with limited capacity (in terms of memory).
Sleeper Sleeper for current thread.
SoftValueSortedMap<K,V> A SortedMap implementation that uses Soft Reference values internally to make it play well with the GC when in a low-memory situation.
SortedCopyOnWriteSet<E> Simple SortedSet implementation that uses an internal TreeSet to provide ordering.
Strings Utility for Strings.
Threads Thread Utility
VersionInfo This class finds the package info for hbase and the VersionAnnotation information.
Writables Utility class with methods for manipulating Writable objects
 

Enum Summary
ChecksumType Checksum types.
HBaseFsck.ErrorReporter.ERROR_CODE  
PoolMap.PoolType  
 

Exception Summary
FileSystemVersionException Thrown when the file system needs to be upgraded
HBaseFsck.RegionRepairException Exception thrown when a integrity repair operation fails in an unresolvable way.
 



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