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)
HTableInterfaceFactory
createHTableInterface
在接口中 HTableInterfaceFactory
config
- HBaseConfiguration instance.tableName
- name of the HBase table.public void releaseHTableInterface(HTableInterface table) throws IOException
HTableInterfaceFactory
releaseHTableInterface
在接口中 HTableInterfaceFactory
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.