Package io.trino.hive.thrift.metastore
Class ThriftHiveMetastore.AsyncProcessor.list_privileges<I extends ThriftHiveMetastore.AsyncIface>
java.lang.Object
org.apache.thrift.AsyncProcessFunction<I,ThriftHiveMetastore.list_privileges_args,List<HiveObjectPrivilege>>
io.trino.hive.thrift.metastore.ThriftHiveMetastore.AsyncProcessor.list_privileges<I>
- Enclosing class:
- ThriftHiveMetastore.AsyncProcessor<I extends ThriftHiveMetastore.AsyncIface>
public static class ThriftHiveMetastore.AsyncProcessor.list_privileges<I extends ThriftHiveMetastore.AsyncIface>
extends org.apache.thrift.AsyncProcessFunction<I,ThriftHiveMetastore.list_privileges_args,List<HiveObjectPrivilege>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.thrift.async.AsyncMethodCallback<List<HiveObjectPrivilege>>getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid) protected booleanisOneway()voidstart(I iface, ThriftHiveMetastore.list_privileges_args args, org.apache.thrift.async.AsyncMethodCallback<List<HiveObjectPrivilege>> resultHandler) Methods inherited from class org.apache.thrift.AsyncProcessFunction
getMethodName, sendResponse
-
Constructor Details
-
list_privileges
public list_privileges()
-
-
Method Details
-
getEmptyArgsInstance
- Specified by:
getEmptyArgsInstancein classorg.apache.thrift.AsyncProcessFunction<I extends ThriftHiveMetastore.AsyncIface,ThriftHiveMetastore.list_privileges_args, List<HiveObjectPrivilege>>
-
getResultHandler
public org.apache.thrift.async.AsyncMethodCallback<List<HiveObjectPrivilege>> getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, int seqid) - Specified by:
getResultHandlerin classorg.apache.thrift.AsyncProcessFunction<I extends ThriftHiveMetastore.AsyncIface,ThriftHiveMetastore.list_privileges_args, List<HiveObjectPrivilege>>
-
isOneway
protected boolean isOneway()- Specified by:
isOnewayin classorg.apache.thrift.AsyncProcessFunction<I extends ThriftHiveMetastore.AsyncIface,ThriftHiveMetastore.list_privileges_args, List<HiveObjectPrivilege>>
-
start
public void start(I iface, ThriftHiveMetastore.list_privileges_args args, org.apache.thrift.async.AsyncMethodCallback<List<HiveObjectPrivilege>> resultHandler) throws org.apache.thrift.TException - Specified by:
startin classorg.apache.thrift.AsyncProcessFunction<I extends ThriftHiveMetastore.AsyncIface,ThriftHiveMetastore.list_privileges_args, List<HiveObjectPrivilege>> - Throws:
org.apache.thrift.TException
-