apache / incubator-hugegraph-computer

HugeGraph Computer - A distributed graph processing system for hugegraph (OLAP)
https://hugegraph.apache.org/docs/quickstart/hugegraph-computer/
Apache License 2.0
42 stars 41 forks source link

feat(core): support output filter #303

Closed diaohancai closed 4 weeks ago

diaohancai commented 7 months ago

Purpose of the PR

Main Changes

  1. computation results output supports custom write.
  2. SingleSourceShortestPathOutput implements org.apache.hugegraph.computer.core.output.ComputerOutput#filter

Verifying these changes

Does this PR potentially affect the following parts?

Documentation Status

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 83.33333% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 84.97%. Comparing base (e0b484a) to head (724fbd1). Report is 11 commits behind head on master.

:exclamation: Current head 724fbd1 differs from pull request most recent head c64b5c5

Please upload reports for the commit c64b5c5 to get more accurate results.

Files Patch % Lines
.../path/shortest/SingleSourceShortestPathOutput.java 50.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #303 +/- ## ============================================ - Coverage 85.03% 84.97% -0.06% - Complexity 3296 3366 +70 ============================================ Files 349 360 +11 Lines 12485 12683 +198 Branches 1130 1151 +21 ============================================ + Hits 10616 10778 +162 - Misses 1329 1342 +13 - Partials 540 563 +23 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

coderzc commented 7 months ago

Please split algorithm module change to another PR.

diaohancai commented 5 months ago

Please split algorithm module change to another PR.

Done.