public class HBaseConnectionVariable extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.hbase.client.HTablePool |
tablePool |
| Constructor and Description |
|---|
HBaseConnectionVariable() |
HBaseConnectionVariable(String zkHost,
String name) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConfig() |
String |
getName() |
org.apache.hadoop.hbase.client.HTableInterface |
getTable(String tableName) |
String |
getZkHost() |
void |
putTable(org.apache.hadoop.hbase.client.HTableInterface table) |
void |
setName(String name) |
void |
setZkHost(String zkHost) |
public org.apache.hadoop.conf.Configuration getConfig()
public org.apache.hadoop.hbase.client.HTableInterface getTable(String tableName) throws IOException
IOExceptionpublic void putTable(org.apache.hadoop.hbase.client.HTableInterface table)
throws IOException
IOExceptionpublic String getZkHost()
public void setZkHost(String zkHost)
public String getName()
public void setName(String name)
Copyright © 2016. All rights reserved.