Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace Iter.asStream(Graph.find) with Graph#stream #39

Closed
sszuev opened this issue May 16, 2022 · 1 comment
Closed

replace Iter.asStream(Graph.find) with Graph#stream #39

sszuev opened this issue May 16, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@sszuev
Copy link
Contributor

sszuev commented May 16, 2022

jena:4.x.x supports java.util.stream.Stream out-of-the-box on the org.apache.jena.graph.Graph level,
so need to use it instead of existing custom solution

@sszuev sszuev added the enhancement New feature or request label May 16, 2022
@sszuev sszuev changed the title switch to use Graph#stream instead of Iter.asStream(Graph.find) replace Iter.asStream(Graph.find) with Graph#stream May 20, 2022
sszuev added a commit that referenced this issue Jun 12, 2022
…ges due to #39 (use Graph#stream), + other minor refactoring
@sszuev
Copy link
Contributor Author

sszuev commented Jun 12, 2022

Not so much to do here.
It seems, the current implementation with ExtendedIterators can be good in performance sense also,
Iterators are much simple, and contain less fields then Stream impls.

@sszuev sszuev closed this as completed Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant