Skip to content

Use Java streams on SQL fetches effectively #827

Closed
@sebastian-peter

Description

@sebastian-peter

Once #773 is merged:

The call to stream() here does not make much sense if one thinks of why we want to use it in the first place. We fetch all rows for a query first, then apply a stream on it to "lazily" handle the rows one by one.
We definitely should not handle this in this PR though, I think. I found information on how to do it though: https://stackoverflow.com/a/64391247

Originally posted by @sebastian-peter in #773 (comment)

Metadata

Metadata

Assignees

Labels

ioIssues relating to input/outputjavaPull requests that update Java code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions