hsyuan commented on a change in pull request #111: [CALCITE-3324] Add create
method in MetaResultSet
URL: https://github.com/apache/calcite-avatica/pull/111#discussion_r328892424
##########
File path: core/src/main/java/org/apache/calcite/avatica/Meta.java
##########
@@ -577,6 +577,12 @@ public static MetaResultSet create(String connectionId,
int statementId,
Objects.requireNonNull(signature), firstFrame, -1L);
}
+ public static MetaResultSet create(String connectionId, int statementId,
+ boolean ownStatement, Signature signature, Frame firstFrame, long
updateCount) {
+ return new MetaResultSet(connectionId, statementId, ownStatement,
+ Objects.requireNonNull(signature), firstFrame, updateCount);
+ }
+
Review comment:
Hmm, this is OK. But why can't we make `MetaResultSet` constructor public?
@julianhyde Do you know the reason?
----------------------------------------------------------------
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]
With regards,
Apache Git Services