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()
          Deprecated. 
HBaseConfiguration(org.apache.hadoop.conf.Configuration c)
          Deprecated. 
 
Method Summary
static org.apache.hadoop.conf.Configuration addHbaseResources(org.apache.hadoop.conf.Configuration conf)
           
static org.apache.hadoop.conf.Configuration create()
          Creates a Configuration with HBase resources
static org.apache.hadoop.conf.Configuration create(org.apache.hadoop.conf.Configuration that)
          Creates a clone of passed configuration.
 boolean equals(Object obj)
           
 int hashCode()
          Deprecated. 
static int hashCode(org.apache.hadoop.conf.Configuration conf)
          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

@Deprecated
public HBaseConfiguration()
Deprecated. 

Instantinating HBaseConfiguration() is deprecated. Please use HBaseConfiguration#create() to construct a plain Configuration


HBaseConfiguration

@Deprecated
public HBaseConfiguration(org.apache.hadoop.conf.Configuration c)
Deprecated. 

Instantiating HBaseConfiguration() is deprecated. Please use HBaseConfiguration#create(conf) to construct a plain Configuration

Method Detail

addHbaseResources

public static org.apache.hadoop.conf.Configuration addHbaseResources(org.apache.hadoop.conf.Configuration conf)

create

public static org.apache.hadoop.conf.Configuration create()
Creates a Configuration with HBase resources

Returns:
a Configuration with HBase resources

create

public static org.apache.hadoop.conf.Configuration create(org.apache.hadoop.conf.Configuration that)
Creates a clone of passed configuration.

Parameters:
that - Configuration to clone.
Returns:
a Configuration created with the hbase-*.xml files plus the given configuration.

hashCode

@Deprecated
public int hashCode()
Deprecated. 

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.

hashCode

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

See Also:
How the entries are obtained.

equals

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


Copyright © 2010 Apache Software Foundation. All Rights Reserved.