Uploaded image for project: 'Spring Data MongoDB'
  1. Spring Data MongoDB
  2. DATAMONGO-1165

Add support for Java 8 Stream as return type in repositories

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7 RC1 (Fowler)
    • Component/s: Core
    • Labels:
      None

      Description

      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

          Activity

          Hide
          thomasd Thomas Darimont added a comment -

          Please revise.

          Show
          thomasd Thomas Darimont added a comment - Please revise.

            People

            • Assignee:
              thomasd Thomas Darimont
              Reporter:
              thomasd Thomas Darimont
              Last updater:
              Mark Paluch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile