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.
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.
PoolMap.Pool<R>  
RegionSplitter.SplitAlgorithm A generic interface for the RegionSplitter code to use for all it's functionality.
 

Class Summary
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!
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.
Classes Utilities for class manipulation.
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.
DefaultEnvironmentEdge Default implementation of an environment edge.
DirectMemoryUtils  
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.
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 Check consistency among the in-memory states of the master and the region server(s) and the state of data in HDFS.
HBaseFsck.HbckInfo Maintain information about a particular region.
HBaseFsckRepair  
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  
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.
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.MD5StringSplit MD5StringSplit is the default RegionSplitter.SplitAlgorithm for creating pre-split tables.
RetryCounter  
RetryCounterFactory  
ServerCommandLine Base class for command lines that start up various HBase daemons.
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
HBaseFsck.ErrorReporter.ERROR_CODE  
PoolMap.PoolType  
 

Exception Summary
FileSystemVersionException Thrown when the file system needs to be upgraded
HBaseFsck.RegionInfoLoadException  
 



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