org.apache.hadoop.hbase.client
Class HTableFactory

java.lang.Object
  extended by org.apache.hadoop.hbase.client.HTableFactory
All Implemented Interfaces:
HTableInterfaceFactory

Deprecated. as of 0.98.1. See HConnectionManager.createConnection(Configuration).

@InterfaceAudience.Public
@InterfaceStability.Stable
@Deprecated
public class HTableFactory
extends Object
implements HTableInterfaceFactory

Factory for creating HTable instances.


Constructor Summary
HTableFactory()
          Deprecated.  
 
Method Summary
 HTableInterface createHTableInterface(org.apache.hadoop.conf.Configuration config, byte[] tableName)
          Deprecated. Creates a new HTableInterface.
 void releaseHTableInterface(HTableInterface table)
          Deprecated. Release the HTable resource represented by the table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTableFactory

public HTableFactory()
Deprecated. 
Method Detail

createHTableInterface

public HTableInterface createHTableInterface(org.apache.hadoop.conf.Configuration config,
                                             byte[] tableName)
Deprecated. 
Description copied from interface: HTableInterfaceFactory
Creates a new HTableInterface.

Specified by:
createHTableInterface in interface HTableInterfaceFactory
Parameters:
config - HBaseConfiguration instance.
tableName - name of the HBase table.
Returns:
HTableInterface instance.

releaseHTableInterface

public void releaseHTableInterface(HTableInterface table)
                            throws IOException
Deprecated. 
Description copied from interface: HTableInterfaceFactory
Release the HTable resource represented by the table.

Specified by:
releaseHTableInterface in interface HTableInterfaceFactory
Throws:
IOException


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