This repository was archived by the owner on Apr 7, 2026. It is now read-only.
fix: allow getting metadata without calling next()#1691
Merged
Conversation
DirectExecuteResultSet, which is used in the Connection API, directly executes any query that it is given without the need to call ResultSet.next() first. This also makes it possible to get the ResultSet metadata from the result without the need to calling ResultSet.next() first.
thiagotnunes
approved these changes
Feb 15, 2022
ansh0l
approved these changes
Feb 16, 2022
gcf-owl-bot Bot
added a commit
that referenced
this pull request
Nov 2, 2022
…essor job (#1691) * chore: install dependencies through requirements file Source-Link: googleapis/synthtool@35f4cba Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:821ab7aba89af2c7907e29297bba024d4cd5366d0684e5eb463391cdf4edc9ee
lqiu96
pushed a commit
that referenced
this pull request
Nov 22, 2022
…essor job (#1691) (#2138) * chore: install dependencies through requirements file Source-Link: googleapis/synthtool@35f4cba Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:821ab7aba89af2c7907e29297bba024d4cd5366d0684e5eb463391cdf4edc9ee Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Diego Alonso Marquez Palacios <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DirectExecuteResultSet, which is used in the Connection API, directly
executes any query that it is given without the need to call
ResultSet.next() first. This also makes it possible to get the ResultSet
metadata from the result without the need to calling ResultSet.next()
first.