Package ai.heavy.thrift.calciteserver
Class CalciteServer.AsyncClient
- java.lang.Object
-
- org.apache.thrift.async.TAsyncClient
-
- ai.heavy.thrift.calciteserver.CalciteServer.AsyncClient
-
- All Implemented Interfaces:
CalciteServer.AsyncIface
- Enclosing class:
- CalciteServer
public static class CalciteServer.AsyncClient extends org.apache.thrift.async.TAsyncClient implements CalciteServer.AsyncIface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCalciteServer.AsyncClient.Factorystatic classCalciteServer.AsyncClient.getCompletionHints_callstatic classCalciteServer.AsyncClient.getExtensionFunctionWhitelist_callstatic classCalciteServer.AsyncClient.getRuntimeExtensionFunctionWhitelist_callstatic classCalciteServer.AsyncClient.getUserDefinedFunctionWhitelist_callstatic classCalciteServer.AsyncClient.ping_callstatic classCalciteServer.AsyncClient.process_callstatic classCalciteServer.AsyncClient.setRuntimeExtensionFunctions_callstatic classCalciteServer.AsyncClient.shutdown_callstatic classCalciteServer.AsyncClient.updateMetadata_call
-
Constructor Summary
Constructors Constructor Description AsyncClient(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetCompletionHints(String user, String passwd, String catalog, List<String> visible_tables, String sql, int cursor, org.apache.thrift.async.AsyncMethodCallback<List<TCompletionHint>> resultHandler)voidgetExtensionFunctionWhitelist(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)voidgetRuntimeExtensionFunctionWhitelist(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)voidgetUserDefinedFunctionWhitelist(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)voidping(org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidprocess(String user, String passwd, String catalog, String sql_text, TQueryParsingOption query_parsing_option, TOptimizationOption optimization_option, List<TRestriction> restrictions, org.apache.thrift.async.AsyncMethodCallback<TPlanResult> resultHandler)voidsetRuntimeExtensionFunctions(List<TUserDefinedFunction> udfs, List<TUserDefinedTableFunction> udtfs, boolean isruntime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidshutdown(org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)voidupdateMetadata(String catalog, String table, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
-
-
-
Method Detail
-
ping
public void ping(org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
pingin interfaceCalciteServer.AsyncIface- Throws:
org.apache.thrift.TException
-
shutdown
public void shutdown(org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
shutdownin interfaceCalciteServer.AsyncIface- Throws:
org.apache.thrift.TException
-
process
public void process(String user, String passwd, String catalog, String sql_text, TQueryParsingOption query_parsing_option, TOptimizationOption optimization_option, List<TRestriction> restrictions, org.apache.thrift.async.AsyncMethodCallback<TPlanResult> resultHandler) throws org.apache.thrift.TException
- Specified by:
processin interfaceCalciteServer.AsyncIface- Throws:
org.apache.thrift.TException
-
getExtensionFunctionWhitelist
public void getExtensionFunctionWhitelist(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Specified by:
getExtensionFunctionWhitelistin interfaceCalciteServer.AsyncIface- Throws:
org.apache.thrift.TException
-
getUserDefinedFunctionWhitelist
public void getUserDefinedFunctionWhitelist(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Specified by:
getUserDefinedFunctionWhitelistin interfaceCalciteServer.AsyncIface- Throws:
org.apache.thrift.TException
-
getRuntimeExtensionFunctionWhitelist
public void getRuntimeExtensionFunctionWhitelist(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Specified by:
getRuntimeExtensionFunctionWhitelistin interfaceCalciteServer.AsyncIface- Throws:
org.apache.thrift.TException
-
setRuntimeExtensionFunctions
public void setRuntimeExtensionFunctions(List<TUserDefinedFunction> udfs, List<TUserDefinedTableFunction> udtfs, boolean isruntime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
setRuntimeExtensionFunctionsin interfaceCalciteServer.AsyncIface- Throws:
org.apache.thrift.TException
-
updateMetadata
public void updateMetadata(String catalog, String table, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Specified by:
updateMetadatain interfaceCalciteServer.AsyncIface- Throws:
org.apache.thrift.TException
-
getCompletionHints
public void getCompletionHints(String user, String passwd, String catalog, List<String> visible_tables, String sql, int cursor, org.apache.thrift.async.AsyncMethodCallback<List<TCompletionHint>> resultHandler) throws org.apache.thrift.TException
- Specified by:
getCompletionHintsin interfaceCalciteServer.AsyncIface- Throws:
org.apache.thrift.TException
-
-