org.apache.hive.service.cli.session
Class HiveSessionHookContextImpl

java.lang.Object
  extended by org.apache.hive.service.cli.session.HiveSessionHookContextImpl
All Implemented Interfaces:
HiveSessionHookContext

public class HiveSessionHookContextImpl
extends Object
implements HiveSessionHookContext

HiveSessionHookContextImpl. Session hook context implementation which is created by session manager and passed to hook invocation.


Method Summary
 HiveConf getSessionConf()
          Retrieve session conf
 String getSessionHandle()
          Retrieve handle for the session
 String getSessionUser()
          The get the username starting the session
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSessionConf

public HiveConf getSessionConf()
Description copied from interface: HiveSessionHookContext
Retrieve session conf

Specified by:
getSessionConf in interface HiveSessionHookContext
Returns:

getSessionUser

public String getSessionUser()
Description copied from interface: HiveSessionHookContext
The get the username starting the session

Specified by:
getSessionUser in interface HiveSessionHookContext
Returns:

getSessionHandle

public String getSessionHandle()
Description copied from interface: HiveSessionHookContext
Retrieve handle for the session

Specified by:
getSessionHandle in interface HiveSessionHookContext
Returns:


Copyright © 2012 The Apache Software Foundation