Package ai.heavy.thrift.calciteserver
Interface CalciteServer.AsyncIface
-
- All Known Implementing Classes:
CalciteServer.AsyncClient
- Enclosing class:
- CalciteServer
public static interface CalciteServer.AsyncIface
-
-
Method Summary
All Methods Instance Methods Abstract 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
void ping(org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
shutdown
void shutdown(org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
process
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
- Throws:
org.apache.thrift.TException
-
getExtensionFunctionWhitelist
void getExtensionFunctionWhitelist(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getUserDefinedFunctionWhitelist
void getUserDefinedFunctionWhitelist(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getRuntimeExtensionFunctionWhitelist
void getRuntimeExtensionFunctionWhitelist(org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
setRuntimeExtensionFunctions
void setRuntimeExtensionFunctions(List<TUserDefinedFunction> udfs, List<TUserDefinedTableFunction> udtfs, boolean isruntime, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
updateMetadata
void updateMetadata(String catalog, String table, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-