Class ClientSqlExecuteScriptRequest
java.lang.Object
org.apache.ignite.client.handler.requests.sql.ClientSqlExecuteScriptRequest
Client SQL execute script request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<ResponseWriter>process(Executor operationExecutor, org.apache.ignite.internal.client.proto.ClientMessageUnpacker in, org.apache.ignite.internal.sql.engine.QueryProcessor sql, long requestId, Map<Long, CancelHandle> cancelHandleMap, org.apache.ignite.internal.hlc.HybridTimestampTracker tsTracker, String username) Processes the request.
-
Constructor Details
-
ClientSqlExecuteScriptRequest
public ClientSqlExecuteScriptRequest()
-
-
Method Details
-
process
public static CompletableFuture<ResponseWriter> process(Executor operationExecutor, org.apache.ignite.internal.client.proto.ClientMessageUnpacker in, org.apache.ignite.internal.sql.engine.QueryProcessor sql, long requestId, Map<Long, CancelHandle> cancelHandleMap, org.apache.ignite.internal.hlc.HybridTimestampTracker tsTracker, String username) Processes the request.- Parameters:
operationExecutor- Executor to submit execution of operation.in- Unpacker.sql- SQL API.requestId- Id of the request.cancelHandleMap- Registry of handlers. Request must register itself in this registry before switching to another thread.username- Authenticated user name.- Returns:
- Future representing result of operation.
-