public static class ThriftHiveMetastore.AsyncClient.list_privileges_call
extends org.apache.thrift.async.TAsyncMethodCall
| Constructor and Description |
|---|
ThriftHiveMetastore.AsyncClient.list_privileges_call(String principal_name,
PrincipalType principal_type,
HiveObjectRef hiveObject,
org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.list_privileges_call> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
| Modifier and Type | Method and Description |
|---|---|
List<HiveObjectPrivilege> |
getResult() |
void |
write_args(org.apache.thrift.protocol.TProtocol prot) |
public ThriftHiveMetastore.AsyncClient.list_privileges_call(String principal_name, PrincipalType principal_type, HiveObjectRef hiveObject, org.apache.thrift.async.AsyncMethodCallback<ThriftHiveMetastore.AsyncClient.list_privileges_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void write_args(org.apache.thrift.protocol.TProtocol prot)
throws org.apache.thrift.TException
write_args in class org.apache.thrift.async.TAsyncMethodCallorg.apache.thrift.TExceptionpublic List<HiveObjectPrivilege> getResult() throws MetaException, org.apache.thrift.TException
MetaExceptionorg.apache.thrift.TExceptionCopyright © 2016 Cloudera. All rights reserved.