org.apache.hadoop.hive.ql.parse
Class HiveSemanticAnalyzerHookContextImpl

java.lang.Object
  extended by org.apache.hadoop.hive.ql.parse.HiveSemanticAnalyzerHookContextImpl
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, HiveSemanticAnalyzerHookContext

public class HiveSemanticAnalyzerHookContextImpl
extends Object
implements HiveSemanticAnalyzerHookContext


Constructor Summary
HiveSemanticAnalyzerHookContextImpl()
           
 
Method Summary
 org.apache.hadoop.conf.Configuration getConf()
           
 Hive getHive()
           
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveSemanticAnalyzerHookContextImpl

public HiveSemanticAnalyzerHookContextImpl()
Method Detail

getHive

public Hive getHive()
             throws HiveException
Specified by:
getHive in interface HiveSemanticAnalyzerHookContext
Returns:
the Hive db instance; hook implementations can use this for purposes such as getting configuration information or making metastore calls
Throws:
HiveException

getConf

public org.apache.hadoop.conf.Configuration getConf()
Specified by:
getConf in interface org.apache.hadoop.conf.Configurable

setConf

public void setConf(org.apache.hadoop.conf.Configuration conf)
Specified by:
setConf in interface org.apache.hadoop.conf.Configurable


Copyright © 2011 The Apache Software Foundation