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

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

public class HiveSessionProxy
extends Object
implements InvocationHandler


Constructor Summary
HiveSessionProxy(HiveSession hiveSession, UserGroupInformation ugi)
           
 
Method Summary
static HiveSession getProxy(HiveSession hiveSession, UserGroupInformation ugi)
           
 Object invoke(Object arg0, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveSessionProxy

public HiveSessionProxy(HiveSession hiveSession,
                        UserGroupInformation ugi)
Method Detail

getProxy

public static HiveSession getProxy(HiveSession hiveSession,
                                   UserGroupInformation ugi)
                            throws IllegalArgumentException,
                                   HiveSQLException
Throws:
IllegalArgumentException
HiveSQLException

invoke

public Object invoke(Object arg0,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2012 The Apache Software Foundation