arne-bdt opened a new pull request, #3970:
URL: https://github.com/apache/jena/pull/3970

   GitHub issue resolved #3969
   
   Pull request Description:
   
   **PR description**
   
   Replaces the `find()`-wrapping default with native streaming across the 
`DatasetGraph` hierarchy.
   
   - `DatasetGraphBaseFind`: `stream()` path (`streamNG` / `streamAny` / 
`streamQuadsInUnionGraph`) mirroring `find()`, backed by new primitives 
`streamInDftGraph` / `streamInSpecificNamedGraph` / `streamInAnyNamedGraphs`, 
implemented by each dataset (in-memory, map, one, null, collection, buffering, 
dyadic, ordered, storage, TDB1).
   - `GraphView.stream(...)` routes graph-over-dataset access through 
`DatasetGraph#stream`.
   - New `G` stream helpers (`quads2triples`, `triples2quads`, 
`triples2quadsDftGraph`).
   - `IteratorTxnTracker.forEachRemaining` now checks the transaction, keeping 
stream bulk operations (`forEach`/`count`/`collect`) inside their originating 
transaction.
   
   **Compatibility:** `DatasetGraph.stream(g,s,p,o)` remains a `default` method 
— no break for external implementors.
   
   **Tests:** `stream()==find()` parity across access patterns for the 
in-memory / map / one / filtered-view / storage / TDB1 datasets and 
`GraphView`, plus buffered-overlay parity tests for `BufferingDatasetGraph`.
   
   ---
   
   **AI Disclaimer**
   
   The productive code is written by hand, only with AI assisted code 
completion.
   Most of the new tests is written by an AI Coding asisstant.
   Issue description, PR description and commit comment is AI generated.
   
   ----
   
    - [x] Tests are included.
    - [x] Commits have been squashed to remove intermediate development commit 
messages.
    - [x] Key commit messages start with the issue number (GH-xxxx)
   
   By submitting this pull request, I acknowledge that I am making a 
contribution to the Apache Software Foundation under the terms and conditions 
of the [Contributor's 
Agreement](https://www.apache.org/licenses/contributor-agreements.html).
   
   ----
   
   See the [Apache Jena "Contributing" 
guide](https://github.com/apache/jena/blob/main/CONTRIBUTING.md).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to