brickhouse.hbase
Class HTableFactory
java.lang.Object
brickhouse.hbase.HTableFactory
public class HTableFactory
- extends Object
Common code to access HTables
- Author:
- jeromebanks
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTableFactory
public HTableFactory()
getHTable
public static org.apache.hadoop.hbase.client.HTable getHTable(Map<String,String> configMap)
throws IOException
- Throws:
IOException
getConfigFromConstMapInspector
public static Map<String,String> getConfigFromConstMapInspector(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector objInspector)
throws org.apache.hadoop.hive.ql.exec.UDFArgumentException
- Throws:
org.apache.hadoop.hive.ql.exec.UDFArgumentException
checkConfig
public static void checkConfig(Map<String,String> configIn)
- Throws RuntimeException if config is incomplete.
- Parameters:
configIn -
Copyright © 2013. All rights reserved.