Package ai.heavy.thrift.server
Class Heavy.AsyncClient.sql_execute_df_call
- java.lang.Object
-
- org.apache.thrift.async.TAsyncMethodCall<TDataFrame>
-
- ai.heavy.thrift.server.Heavy.AsyncClient.sql_execute_df_call
-
- Enclosing class:
- Heavy.AsyncClient
public static class Heavy.AsyncClient.sql_execute_df_call extends org.apache.thrift.async.TAsyncMethodCall<TDataFrame>
-
-
Constructor Summary
Constructors Constructor Description sql_execute_df_call(String session, String query, TDeviceType device_type, int device_id, int first_n, TArrowTransport transport_method, org.apache.thrift.async.AsyncMethodCallback<TDataFrame> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TDataFramegetResult()voidwrite_args(org.apache.thrift.protocol.TProtocol prot)
-
-
-
Constructor Detail
-
sql_execute_df_call
public sql_execute_df_call(String session, String query, TDeviceType device_type, int device_id, int first_n, TArrowTransport transport_method, org.apache.thrift.async.AsyncMethodCallback<TDataFrame> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-
Method Detail
-
write_args
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException- Specified by:
write_argsin classorg.apache.thrift.async.TAsyncMethodCall<TDataFrame>- Throws:
org.apache.thrift.TException
-
getResult
public TDataFrame getResult() throws TDBException, org.apache.thrift.TException
- Specified by:
getResultin classorg.apache.thrift.async.TAsyncMethodCall<TDataFrame>- Throws:
TDBExceptionorg.apache.thrift.TException
-
-