korlov42 commented on code in PR #817:
URL: https://github.com/apache/ignite-3/pull/817#discussion_r883330220


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/QueryProcessor.java:
##########
@@ -48,6 +48,20 @@ public interface QueryProcessor extends IgniteComponent {
      * @return List of sql cursors.
      *
      * @throws IgniteException in case of an error.
-     * */
+     */
     List<CompletableFuture<AsyncSqlCursor<List<Object>>>> 
queryAsync(QueryContext context, String schemaName, String qry, Object... 
params);
+
+    /**
+     * Execute the single statement query with given schema name and 
parameters.
+     * If the query string contains more than one statement the 
IgniteException will be thrown.
+     *
+     * @param context User query context.
+     * @param schemaName Schema name.
+     * @param qry Single statement SQL query .
+     * @param params Query parameters.
+     * @return List of sql cursors.

Review Comment:
   querySingle should return a single cursor



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to