ConnectionFactory and Connection.@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public interface HTableInterfaceFactory
| Modifier and Type | Method and Description |
|---|---|
HTableInterface |
createHTableInterface(Configuration config,
byte[] tableName)
Deprecated.
Creates a new HTableInterface.
|
void |
releaseHTableInterface(HTableInterface table)
Deprecated.
Release the HTable resource represented by the table.
|
HTableInterface createHTableInterface(Configuration config, byte[] tableName)
config - HBaseConfiguration instance.tableName - name of the HBase table.void releaseHTableInterface(HTableInterface table) throws java.io.IOException
table - java.io.IOException