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

support count api #84

Merged
merged 3 commits into from
Jun 19, 2020
Merged

support count api #84

merged 3 commits into from
Jun 19, 2020

Conversation

zhoney
Copy link
Contributor

@zhoney zhoney commented Jun 18, 2020

Change-Id: Ib2c83372031a8d5e5b18d7e4b1556e78f4447b35

Change-Id: Ib2c83372031a8d5e5b18d7e4b1556e78f4447b35
@codecov
Copy link

codecov bot commented Jun 18, 2020

Codecov Report

Merging #84 into master will increase coverage by 0.11%.
The diff coverage is 81.81%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #84      +/-   ##
============================================
+ Coverage     76.93%   77.05%   +0.11%     
- Complexity      777      783       +6     
============================================
  Files           125      127       +2     
  Lines          3165     3242      +77     
  Branches        189      192       +3     
============================================
+ Hits           2435     2498      +63     
- Misses          594      605      +11     
- Partials        136      139       +3     
Impacted Files Coverage Δ Complexity Δ
.../baidu/hugegraph/structure/constant/Traverser.java 0.00% <ø> (ø) 0.00 <0.00> (ø)
...a/com/baidu/hugegraph/driver/TraverserManager.java 36.03% <50.00%> (+0.25%) 11.00 <0.00> (ø)
...ugegraph/api/traverser/structure/CountRequest.java 80.59% <80.59%> (ø) 3.00 <3.00> (?)
...va/com/baidu/hugegraph/api/traverser/CountAPI.java 100.00% <100.00%> (ø) 3.00 <3.00> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f68b06b...f295087. Read the comment docs.

`

Change-Id: I2f998eb8f43776e8dfa3286e511c2860ae2652be
/*
*
* c -----* f
* *
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefer ^

@@ -379,6 +383,10 @@ public WeightedPath weightedShortestPath(Object sourceId, Object targetId,
degree, limit);
}

public long kneighbor(CountRequest request) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

count()

Change-Id: Ie1394fd82a83c869b5d468d1217637bd200cc300
@Linary Linary merged commit 906a362 into master Jun 19, 2020
@Linary Linary deleted the kout-kneighbor-count branch June 19, 2020 02:01
shzcore pushed a commit to shzcore/hugegraph-client that referenced this pull request Jun 21, 2020
Change-Id: Ie1394fd82a83c869b5d468d1217637bd200cc300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants