public class TUGIContainingTransport extends TFilterTransport
TSocket
transport and annotates it with ugi.Modifier and Type | Class and Description |
---|---|
static class |
TUGIContainingTransport.Factory
Factory to create TUGIContainingTransport.
|
wrapped
Constructor and Description |
---|
TUGIContainingTransport(org.apache.thrift.transport.TTransport wrapped) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.security.UserGroupInformation |
getClientUGI() |
Socket |
getSocket()
If the underlying TTransport is an instance of TSocket, it returns the Socket object
which it contains.
|
void |
setClientUGI(org.apache.hadoop.security.UserGroupInformation ugi) |
close, consumeBuffer, flush, getBuffer, getBufferPosition, getBytesRemainingInBuffer, isOpen, open, peek, read, readAll, write, write
public TUGIContainingTransport(org.apache.thrift.transport.TTransport wrapped)
public org.apache.hadoop.security.UserGroupInformation getClientUGI()
public void setClientUGI(org.apache.hadoop.security.UserGroupInformation ugi)
public Socket getSocket()
Copyright © 2021 The Apache Software Foundation. All rights reserved.