org.apache.hive.service.auth
Class TSetIpAddressProcessor<I extends TCLIService.Iface>
java.lang.Object
org.apache.thrift.TBaseProcessor<I>
org.apache.hive.service.cli.thrift.TCLIService.Processor<TCLIService.Iface>
org.apache.hive.service.auth.TSetIpAddressProcessor<I>
- All Implemented Interfaces:
- org.apache.thrift.TProcessor
public class TSetIpAddressProcessor<I extends TCLIService.Iface>
- extends TCLIService.Processor<TCLIService.Iface>
This class is responsible for setting the ipAddress for operations executed via HiveServer2.
- Ipaddress is only set for operations that calls listeners with hookContext @see ExecuteWithHookContext.
- Ipaddress is only set if the underlying transport mechanism is socket.
Nested classes/interfaces inherited from class org.apache.hive.service.cli.thrift.TCLIService.Processor |
TCLIService.Processor.CancelOperation<I extends TCLIService.Iface>, TCLIService.Processor.CloseOperation<I extends TCLIService.Iface>, TCLIService.Processor.CloseSession<I extends TCLIService.Iface>, TCLIService.Processor.ExecuteStatement<I extends TCLIService.Iface>, TCLIService.Processor.FetchResults<I extends TCLIService.Iface>, TCLIService.Processor.GetCatalogs<I extends TCLIService.Iface>, TCLIService.Processor.GetColumns<I extends TCLIService.Iface>, TCLIService.Processor.GetFunctions<I extends TCLIService.Iface>, TCLIService.Processor.GetInfo<I extends TCLIService.Iface>, TCLIService.Processor.GetOperationStatus<I extends TCLIService.Iface>, TCLIService.Processor.GetResultSetMetadata<I extends TCLIService.Iface>, TCLIService.Processor.GetSchemas<I extends TCLIService.Iface>, TCLIService.Processor.GetTables<I extends TCLIService.Iface>, TCLIService.Processor.GetTableTypes<I extends TCLIService.Iface>, TCLIService.Processor.GetTypeInfo<I extends TCLIService.Iface>, TCLIService.Processor.OpenSession<I extends TCLIService.Iface> |
Method Summary |
boolean |
process(org.apache.thrift.protocol.TProtocol in,
org.apache.thrift.protocol.TProtocol out)
|
protected void |
setIpAddress(org.apache.thrift.protocol.TProtocol in)
|
Methods inherited from class org.apache.thrift.TBaseProcessor |
getProcessMapView |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TSetIpAddressProcessor
public TSetIpAddressProcessor(TCLIService.Iface iface)
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<TCLIService.Iface>
- Throws:
org.apache.thrift.TException
setIpAddress
protected void setIpAddress(org.apache.thrift.protocol.TProtocol in)
Copyright © 2012 The Apache Software Foundation