// Path: hbase-tutorial/src/main/java/com/micmiu/bigdata/hbase/client/HBaseConnPoolManager.java
// public class HBaseConnPoolManager extends HBaseConnAbstractPool {
// 
// 	public HBaseConnPoolManager() {
// 		super();
// 	}
// 
// 	public HBaseConnPoolManager(Configuration config) {
// 		super(config);
// 	}
// 
// 	public HBaseConnPoolManager(String quorum, int port, String znode) {
// 		getConfig().set("hbase.zookeeper.property.clientPort", port + "");
// 		getConfig().set("hbase.zookeeper.quorum", quorum);
// 		getConfig().set("zookeeper.znode.parent", znode);
// 	}
// }
// 
// Path: hbase-tutorial/src/main/java/com/micmiu/bigdata/hbase/client/HBaseConnPool.java
// public interface HBaseConnPool {
// 
// 	void setup();
// 
// 	Configuration getConfig();
// 
// 	HConnection getConn();
// 
// 	void closeConn();
// }


import com.micmiu.bigdata.hbase.client.HBaseConnPoolManager;
import com.micmiu.bigdata.hbase.client.HBaseConnPool;
import org.apache.hadoop.hbase.client.HBaseAdmin;
import org.apache.hadoop.hbase.client.HTableInterface;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
package com.micmiu.bigdata.hbase;


/**
 * Created
 * User: <a href="http://micmiu.com">micmiu</a>
 * Date: 7/8/2015
 * Time: 08:20
 */
public class HBaseBaseHandler {

	private static final Logger LOGGER = LoggerFactory.getLogger(HBaseBaseHandler.class);

	private String encoding = "UTF-8";

	private HBaseConnPool connPool;

	public HBaseBaseHandler(HBaseConnPool connPool) {
		this.connPool = connPool;
	}

	public HBaseBaseHandler() {
// Path: hbase-tutorial/src/main/java/com/micmiu/bigdata/hbase/client/HBaseConnPoolManager.java
// public class HBaseConnPoolManager extends HBaseConnAbstractPool {
// 
// 	public HBaseConnPoolManager() {
// 		super();
// 	}
// 
// 	public HBaseConnPoolManager(Configuration config) {
// 		super(config);
// 	}
// 
// 	public HBaseConnPoolManager(String quorum, int port, String znode) {
// 		getConfig().set("hbase.zookeeper.property.clientPort", port + "");
// 		getConfig().set("hbase.zookeeper.quorum", quorum);
// 		getConfig().set("zookeeper.znode.parent", znode);
// 	}
// }
// 
// Path: hbase-tutorial/src/main/java/com/micmiu/bigdata/hbase/client/HBaseConnPool.java
// public interface HBaseConnPool {
// 
// 	void setup();
// 
// 	Configuration getConfig();
// 
// 	HConnection getConn();
// 
// 	void closeConn();
// }


// Path: hbase-tutorial/src/main/java/com/micmiu/bigdata/hbase/HBaseBaseHandler.java
import com.micmiu.bigdata.hbase.client.HBaseConnPoolManager;
import com.micmiu.bigdata.hbase.client.HBaseConnPool;
import org.apache.hadoop.hbase.client.HBaseAdmin;
import org.apache.hadoop.hbase.client.HTableInterface;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

package com.micmiu.bigdata.hbase;


/**
 * Created
 * User: <a href="http://micmiu.com">micmiu</a>
 * Date: 7/8/2015
 * Time: 08:20
 */
public class HBaseBaseHandler {

	private static final Logger LOGGER = LoggerFactory.getLogger(HBaseBaseHandler.class);

	private String encoding = "UTF-8";

	private HBaseConnPool connPool;

	public HBaseBaseHandler(HBaseConnPool connPool) {
		this.connPool = connPool;
	}

	public HBaseBaseHandler() {
		this.connPool = new HBaseConnPoolManager();