tledkov-gridgain commented on a change in pull request #9046:
URL: https://github.com/apache/ignite/pull/9046#discussion_r635033265
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/query/QueryEngine.java
##########
@@ -36,4 +37,25 @@
*/
List<FieldsQueryCursor<List<?>>> query(@Nullable QueryContext ctx, String
schemaName, String qry, Object... params)
throws IgniteSQLException;
+
+ /**
+ * Return SQL running queries.
+ *
+ * @return SQL running queries.
+ */
+ List<RunningQueryInfo> runningQueries();
+
+ /**
+ * Return running queries fragments.
+ *
+ * @return Running queries fragments.
+ */
+ List<RunningFragmentInfo> runningFragments();
+
+ /**
+ * Cancel specified query.
+ *
+ * @param qryId Queries ID to cancel.
+ */
+ void cancelQuery(UUID qryId);
Review comment:
Great! I think the default behavior would be async.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]