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
AbstractHBaseTool Common base class used for HBase command-line tools.
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.
BoundedArrayQueue<E> A bounded non-thread safe implementation of Queue.
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.
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
CollectionUtils Utility methods for dealing with Collections, including treating null collections as empty.
ConcatenatedLists<T> A collection class that contains multiple sub-lists, which allows us to not copy lists.
ConcurrentIndex<K,V> A simple concurrent map of sets.
CoprocessorClassLoader ClassLoader used to load classes for Coprocessor instances.
DefaultEnvironmentEdge Default implementation of an environment edge.
DNS Wrapper around Hadoop's DNS class to hide reflection.
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.
ExceptionUtil This class handles the different interruption classes.
Hash This class represents a common API for hashing functions.
HasThread Abstract class which contains a Thread and delegates the common Thread methods to that instance.
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.
LongUtils  
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.
MurmurHash3 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.
PrettyPrinter  
ReflectionUtils  
RetryCounter  
RetryCounter.BackoffPolicy Policy for calculating sleeping intervals between retry attempts
RetryCounter.ExponentialBackoffPolicy  
RetryCounter.ExponentialBackoffPolicyWithLimit  
RetryCounter.RetryConfig Configuration for a retry counter
RetryCounterFactory  
SimpleByteRange A basic ByteRange implementation.
SimplePositionedByteRange Extends the basic SimpleByteRange implementation with position support.
Sleeper Sleeper for current thread.
Strings Utility for Strings.
Threads Thread Utility
Triple<A,B,C> Utility class to manage a triple.
UnsafeAccess  
UnsafeAvailChecker  
VersionInfo This class finds the Version information for HBase.
 

Enum Summary
ChecksumType Checksum types.
Order Used to describe or modify the lexicographical sort order of a byte[].
PrettyPrinter.Unit  
 



Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.