@InterfaceAudience.Public
@InterfaceStability.Stable
public interface HTableInterfaceFactory
Modifier and Type | Method and Description |
---|---|
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.
|
HTableInterface createHTableInterface(org.apache.hadoop.conf.Configuration config, byte[] tableName)
config
- HBaseConfiguration instance.tableName
- name of the HBase table.void releaseHTableInterface(HTableInterface table) throws IOException
table
- IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.