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