org.apache.hive.service.cli.session
Interface HiveSessionHookContext

All Known Implementing Classes:
HiveSessionHookContextImpl

public interface HiveSessionHookContext

HiveSessionHookContext. Interface passed to the HiveServer2 session hook execution. This enables the hook implementation to accesss session config, user and session handle


Method Summary
 HiveConf getSessionConf()
          Retrieve session conf
 String getSessionHandle()
          Retrieve handle for the session
 String getSessionUser()
          The get the username starting the session
 

Method Detail

getSessionConf

HiveConf getSessionConf()
Retrieve session conf

Returns:

getSessionUser

String getSessionUser()
The get the username starting the session

Returns:

getSessionHandle

String getSessionHandle()
Retrieve handle for the session

Returns:


Copyright © 2012 The Apache Software Foundation