Package org.apache.hadoop.hbase.util

Interface Summary
ByteRange Lightweight, reusable class for specifying ranges of byte[]'s.
EnvironmentEdge Has some basic interaction with the environment.
PositionedByteRange Extends ByteRange with additional methods to support tracking a consumers position within the viewport.
 

Class Summary
Addressing Utility for network addresses, resolving and naming.
ArrayUtils A set of array utility functions that return reasonable values in cases where an array is allocated or if it is null
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.
ByteBufferArray This class manages an array of ByteBuffers with a default size 4MB.
ByteBufferUtils Utility functions for working with byte buffers, such as reading/writing variable-length long numbers.
ByteRangeUtils Utility methods for working with ByteRange.
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.
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
CollectionUtils Utility methods for dealing with Collections, including treating null collections as empty.
CoprocessorClassLoader ClassLoader used to load classes for Coprocessor instances.
DefaultEnvironmentEdge Default implementation of an environment edge.
DrainBarrier A simple barrier that can be used by classes that need to wait for some operations to finish before stopping/closing/etc.
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.
Hash This class represents a common API for hashing functions.
IncrementingEnvironmentEdge Uses an incrementing algorithm instead of the default.
IterableUtils Utility methods for Iterable including null-safe handlers.
JenkinsHash Produces 32-bit hash for hash table lookup.
JVM This class is a wrapper for the implementation of com.sun.management.UnixOperatingSystemMXBean It will decide to use the sun api or its own implementation depending on the runtime (vendor) used.
KeyLocker<K extends Comparable<? super K>> A utility class to manage a set of locks.
MD5Hash Utility class for MD5 MD5 hash produces a 128-bit digest.
Methods  
MurmurHash This is a very fast, non-cryptographic hash suitable for general hash-based lookup.
OrderedBytes Utility class that handles ordered byte arrays.
Pair<T1,T2> A generic class for pairs.
PairOfSameType<T> A generic, immutable class for pairs of objects both of type T.
ReflectionUtils  
RetryCounter  
RetryCounterFactory  
SimpleByteRange A basic ByteRange implementation.
SimplePositionedByteRange Extends the basic SimpleByteRange implementation with position support.
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.
Strings Utility for Strings.
Threads Thread Utility
Triple<A,B,C> Utility class to manage a triple.
VersionInfo This class finds the package info for hbase and the VersionAnnotation information.
 

Enum Summary
Order Used to describe or modify the lexicographical sort order of a byte[].
 



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