org.apache.hadoop.hive.metastore
Class TSetIpAddressProcessor<I extends ThriftHiveMetastore.Iface>
java.lang.Object
org.apache.thrift.TBaseProcessor
com.facebook.fb303.FacebookService.Processor
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Processor<ThriftHiveMetastore.Iface>
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.
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 |
TSetIpAddressProcessor
public TSetIpAddressProcessor(I iface)
throws SecurityException,
NoSuchFieldException,
IllegalArgumentException,
IllegalAccessException,
NoSuchMethodException,
InvocationTargetException
- Throws:
SecurityException
NoSuchFieldException
IllegalArgumentException
IllegalAccessException
NoSuchMethodException
InvocationTargetException
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