This is an automated email from the ASF dual-hosted git repository.

hyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git


The following commit(s) were added to refs/heads/master by this push:
     new 3378970  [CALCITE-3324] Add create method in MetaResultSet
3378970 is described below

commit 3378970c7de5ed047fa44f47021966e66c6acb7d
Author: Robert Yokota <[email protected]>
AuthorDate: Thu Sep 26 19:15:22 2019 -0700

    [CALCITE-3324] Add create method in MetaResultSet
---
 core/src/main/java/org/apache/calcite/avatica/Meta.java | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/core/src/main/java/org/apache/calcite/avatica/Meta.java 
b/core/src/main/java/org/apache/calcite/avatica/Meta.java
index b9cb42b..d69fb1c 100644
--- a/core/src/main/java/org/apache/calcite/avatica/Meta.java
+++ b/core/src/main/java/org/apache/calcite/avatica/Meta.java
@@ -577,6 +577,12 @@ public interface Meta {
           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);
+    }
+
     public static MetaResultSet count(String connectionId, int statementId,
         long updateCount) {
       assert updateCount >= 0

Reply via email to