org.apache.hadoop.hbase.client
Interface HTableInterfaceFactory

All Known Implementing Classes:
HTableFactory

@InterfaceAudience.Public
@InterfaceStability.Stable
public interface HTableInterfaceFactory

Defines methods to create new HTableInterface.

Since:
0.21.0

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.
 

Method Detail

createHTableInterface

HTableInterface createHTableInterface(org.apache.hadoop.conf.Configuration config,
                                      byte[] tableName)
Creates a new HTableInterface.

Parameters:
config - HBaseConfiguration instance.
tableName - name of the HBase table.
Returns:
HTableInterface instance.

releaseHTableInterface

void releaseHTableInterface(HTableInterface table)
                            throws IOException
Release the HTable resource represented by the table.

Parameters:
table -
Throws:
IOException


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.