Skip to content

Add support for Java 8 Stream as return type in repositories [DATAMONGO-1165] #2084

Closed
@spring-projects-issues

Description

@spring-projects-issues

Thomas Darimont opened DATAMONGO-1165 and commented

Since we don't provide an abstraction to stream results of a MongoDB query, Clients have to implement this functionality (via block fetching) manually if they have to deal with really large results.

We should provide a way to stream large results block-wise to a consumer


Issue Links:

  • DATACMNS-650 Provide a CloseableIterator abstraction as a foundation for streaming of results

  • DATAMONGO-252 Provide an Iterator over DBCursor
    ("supersedes")

Referenced from: pull request #274

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions