HConnectionManager.createConnection(Configuration).@InterfaceAudience.Public @InterfaceStability.Stable @Deprecated public class HTableFactory extends Object implements HTableInterfaceFactory
| Constructor and Description |
|---|
HTableFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public HTableInterface createHTableInterface(org.apache.hadoop.conf.Configuration config, byte[] tableName)
HTableInterfaceFactorycreateHTableInterface in interface HTableInterfaceFactoryconfig - HBaseConfiguration instance.tableName - name of the HBase table.public void releaseHTableInterface(HTableInterface table) throws IOException
HTableInterfaceFactoryreleaseHTableInterface in interface HTableInterfaceFactoryIOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.