org.apache.hadoop.hive.metastore
Class TSetIpAddressProcessor<I extends ThriftHiveMetastore.Iface>

java.lang.Object
  extended by org.apache.thrift.TBaseProcessor
      extended by com.facebook.fb303.FacebookService.Processor
          extended by org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Processor<ThriftHiveMetastore.Iface>
              extended by org.apache.hadoop.hive.metastore.TSetIpAddressProcessor<I>
All Implemented Interfaces:
org.apache.thrift.TProcessor
Direct Known Subclasses:
TUGIBasedProcessor

public class TSetIpAddressProcessor<I extends ThriftHiveMetastore.Iface>
extends ThriftHiveMetastore.Processor<ThriftHiveMetastore.Iface>

TSetIpAddressProcessor passes the IP address of the Thrift client to the HMSHandler.


Constructor Summary
TSetIpAddressProcessor(I iface)
           
 
Method Summary
 boolean process(org.apache.thrift.protocol.TProtocol in, org.apache.thrift.protocol.TProtocol out)
           
protected  void setIpAddress(Socket inSocket)
           
protected  void setIpAddress(org.apache.thrift.protocol.TProtocol in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TSetIpAddressProcessor

public TSetIpAddressProcessor(I iface)
                       throws SecurityException,
                              NoSuchFieldException,
                              IllegalArgumentException,
                              IllegalAccessException,
                              NoSuchMethodException,
                              InvocationTargetException
Throws:
SecurityException
NoSuchFieldException
IllegalArgumentException
IllegalAccessException
NoSuchMethodException
InvocationTargetException
Method Detail

process

public boolean process(org.apache.thrift.protocol.TProtocol in,
                       org.apache.thrift.protocol.TProtocol out)
                throws org.apache.thrift.TException
Specified by:
process in interface org.apache.thrift.TProcessor
Overrides:
process in class org.apache.thrift.TBaseProcessor
Throws:
org.apache.thrift.TException

setIpAddress

protected void setIpAddress(org.apache.thrift.protocol.TProtocol in)

setIpAddress

protected void setIpAddress(Socket inSocket)


Copyright © 2011 The Apache Software Foundation