org.apache.hadoop.hbase
Class HBaseConfiguration

java.lang.Object
  extended by org.apache.hadoop.conf.Configuration
      extended by org.apache.hadoop.hbase.HBaseConfiguration
All Implemented Interfaces:
Iterable<Map.Entry<String,String>>, org.apache.hadoop.io.Writable

public class HBaseConfiguration
extends org.apache.hadoop.conf.Configuration

Adds HBase configuration files to a Configuration


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.conf.Configuration
org.apache.hadoop.conf.Configuration.IntegerRanges
 
Constructor Summary
HBaseConfiguration()
          constructor
HBaseConfiguration(org.apache.hadoop.conf.Configuration c)
          Create a clone of passed configuration.
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
          Returns the hash code value for this HBaseConfiguration.
 
Methods inherited from class org.apache.hadoop.conf.Configuration
addDefaultResource, addResource, addResource, addResource, addResource, clear, get, get, getBoolean, getClass, getClass, getClassByName, getClasses, getClassLoader, getConfResourceAsInputStream, getConfResourceAsReader, getFile, getFloat, getInt, getLocalPath, getLong, getRange, getRaw, getResource, getStringCollection, getStrings, getStrings, iterator, main, readFields, reloadConfiguration, set, setBoolean, setBooleanIfUnset, setClass, setClassLoader, setFloat, setIfUnset, setInt, setLong, setQuietMode, setStrings, size, toString, write, writeXml
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HBaseConfiguration

public HBaseConfiguration()
constructor


HBaseConfiguration

public HBaseConfiguration(org.apache.hadoop.conf.Configuration c)
Create a clone of passed configuration.

Parameters:
c - Configuration to clone.
Method Detail

hashCode

public int hashCode()
Returns the hash code value for this HBaseConfiguration. The hash code of a HBaseConfiguration is defined by the xor of the hash codes of its entries.

Overrides:
hashCode in class Object
See Also:
How the entries are obtained.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 The Apache Software Foundation