ConnectionFactory
and Connection
.@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public interface HTableInterfaceFactory
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.client.HTableInterface |
createHTableInterface(org.apache.hadoop.conf.Configuration config,
byte[] tableName)
Deprecated.
Creates a new HTableInterface.
|
void |
releaseHTableInterface(org.apache.hadoop.hbase.client.HTableInterface table)
Deprecated.
Release the HTable resource represented by the table.
|
org.apache.hadoop.hbase.client.HTableInterface createHTableInterface(org.apache.hadoop.conf.Configuration config, byte[] tableName)
config
- HBaseConfiguration instance.tableName
- name of the HBase table.void releaseHTableInterface(org.apache.hadoop.hbase.client.HTableInterface table) throws IOException
table
- IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.