zstan commented on code in PR #2906:
URL: https://github.com/apache/ignite-3/pull/2906#discussion_r1426981066


##########
modules/client-common/src/main/java/org/apache/ignite/internal/jdbc/proto/event/JdbcQuerySingleResult.java:
##########
@@ -69,15 +69,30 @@ public JdbcQuerySingleResult(int status, String err) {
         super(status, err);
     }
 
+    /**
+     * Constructor.
+     *
+     * @param hasNext {@code true} if more results are present.
+     * @param updCount Update counter.
+     */
+    public JdbcQuerySingleResult(boolean hasNext, long updCount) {
+        hasResults = hasNext;
+        this.updateCnt = updCount;
+    }
+
     /**
      * Constructor.
      *
      * @param cursorId Cursor ID.
      * @param rowTuples Serialized SQL result rows.
+     * @param columnTypes Ordered list of types of columns in serialized rows.
+     * @param decimalScales Decimal scales in appearance order.
+     * @param isQuery {@code true} if query is SELECT/EXPLAIN.
+     * @param updateCnt Update count.
      * @param last     Flag indicates the query has no unfetched results.
      */
     public JdbcQuerySingleResult(long cursorId, List<BinaryTupleReader> 
rowTuples, List<ColumnType> columnTypes, int[] decimalScales,
-            boolean last) {
+            boolean last, boolean isQuery, long updateCnt) {

Review Comment:
   `JdbcQuerySingleResult(boolean hasNext, long updCount)` is not for DML needs 
for now.



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