brickhouse.hbase
Class HTableFactory

java.lang.Object
  extended by brickhouse.hbase.HTableFactory

public class HTableFactory
extends Object

Common code to access HTables

Author:
jeromebanks

Constructor Summary
HTableFactory()
           
 
Method Summary
static void checkConfig(Map<String,String> configIn)
          Throws RuntimeException if config is incomplete.
static Map<String,String> getConfigFromConstMapInspector(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector objInspector)
           
static org.apache.hadoop.hbase.client.HTable getHTable(Map<String,String> configMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTableFactory

public HTableFactory()
Method Detail

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.