HConnectionManager.createConnection(Configuration).@InterfaceAudience.Public @InterfaceStability.Stable @Deprecated public class HTableFactory extends Object implements HTableInterfaceFactory
| 构造器和说明 |
|---|
HTableFactory()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
HTableInterface |
createHTableInterface(org.apache.hadoop.conf.Configuration config,
byte[] tableName)
已过时。
Creates a new HTableInterface.
|
void |
releaseHTableInterface(HTableInterface table)
已过时。
Release the HTable resource represented by the table.
|
public HTableInterface createHTableInterface(org.apache.hadoop.conf.Configuration config, byte[] tableName)
HTableInterfaceFactorycreateHTableInterface 在接口中 HTableInterfaceFactoryconfig - HBaseConfiguration instance.tableName - name of the HBase table.public void releaseHTableInterface(HTableInterface table) throws IOException
HTableInterfaceFactoryreleaseHTableInterface 在接口中 HTableInterfaceFactoryIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.