|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.client.HTableFactory
HConnectionManager.createConnection(Configuration)
.
@InterfaceAudience.Public @InterfaceStability.Stable @Deprecated public class HTableFactory
Factory for creating HTable instances.
Constructor Summary | |
---|---|
HTableFactory()
Deprecated. |
Method Summary | |
---|---|
HTableInterface |
createHTableInterface(org.apache.hadoop.conf.Configuration config,
byte[] tableName)
Deprecated. Creates a new HTableInterface. |
void |
releaseHTableInterface(HTableInterface table)
Deprecated. Release the HTable resource represented by the table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTableFactory()
Method Detail |
---|
public HTableInterface createHTableInterface(org.apache.hadoop.conf.Configuration config, byte[] tableName)
HTableInterfaceFactory
createHTableInterface
in interface HTableInterfaceFactory
config
- HBaseConfiguration instance.tableName
- name of the HBase table.
public void releaseHTableInterface(HTableInterface table) throws IOException
HTableInterfaceFactory
releaseHTableInterface
in interface HTableInterfaceFactory
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |