|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.client.HTableFactory
public class HTableFactory
Factory for creating HTable instances.
| Constructor Summary | |
|---|---|
HTableFactory()
|
|
| Method Summary | |
|---|---|
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. |
| 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 HTableInterfaceFactoryconfig - HBaseConfiguration instance.tableName - name of the HBase table.
public void releaseHTableInterface(HTableInterface table)
HTableInterfaceFactory
releaseHTableInterface in interface HTableInterfaceFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||