GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ResultSet should implement Iterable. · Issue #1816 · googleapis/google-cloud-java

ResultSet should implement Iterable. #1816

New issue
Copy link
New issue
Copy link
Closed
Closed
ResultSet should implement Iterable.#1816
Copy link
Assignees
vkedia
Labels
api: spannerIssues related to the Spanner API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@buchgr
buchgr
opened on Mar 28, 2017
Issue body actions

It seems convenient for com.google.cloud.spanner.ResultSet to implement Iterable or Iterator. It would allow for easier use with existing Java/JDK APIs. Right now, I have to roll my own Iterator :(.

Reacted by Erik Reed

Activity

  1. garrettjonesgoogle
    added
    api: spannerIssues related to the Spanner API.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Mar 28, 2017
  2. vkedia commented on Apr 3, 2017

    @vkedia
    vkedia
    on Apr 3, 2017
    More actions

    @buchgr Spanner ResultSet has been designed to look like java.sql.ResultSet which does not implement an iterator as well. Also note that there is a bit of api mismatch between ResultSet and Iterator due to next() in ResultSet being similar to hasNext() in iterator. Also the pattern we want to encourage it for users to directly call accessors like getString on ResultSet since they are more efficient then getting a Struct and then calling accessors on that.

  3. vkedia
    closed this as completedon Apr 3, 2017
  4. JustinBeckwith
    assigned
    vkedia
    on Feb 1, 2021
  5. meltsufin
    added a commit that references this issue on Dec 22, 2025

    chore: Update generation configuration at Thu Jun 5 20:12:08 UTC 2025 (…

    6d4acab
  6. chingor13
    added a commit that references this issue on Feb 24, 2026

    chore: Remmove class cass for getProjectId in GDCHCredentials (#1816)

    8e991fe
  7. suztomo
    added a commit that references this issue on Mar 11, 2026

    chore: Update generation configuration at Thu Jun 5 20:12:08 UTC 2025 (…

    e2f61e3
  8. chingor13
    added a commit that references this issue on Mar 12, 2026

    chore: Remmove class cass for getProjectId in GDCHCredentials (#1816)

    a3c6538
  9. suztomo
    added a commit that references this issue on Mar 23, 2026

    deps: update dependency com.google.api.grpc:proto-google-cloud-trace-…

    2a1f953
  10. meltsufin
    added 7 commits that reference this issue on Apr 29, 2026

    deps: update dependency com.google.protobuf:protobuf-java-util to v3.…

    e4f2b26

    chore(main): release 1.125.13 (#1833)

    b85621d

    chore(main): release 1.133.0 (#2206)

    a3b6539

    deps: update dependency com.google.protobuf:protobuf-java-util to v3.…

    092df3a

    chore(main): release 1.125.13 (#1833)

    a3cc038

    chore(main): release 1.133.0 (#2206)

    1180af9

    chore(main): release 3.26.1-SNAPSHOT (#1816)

    c92e060
  11. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore(main): release 2.24.1 (googleapis#1816)

    cf2d968
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @vkedia
    vkedia

Labels

api: spannerIssues related to the Spanner API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.