-
Notifications
You must be signed in to change notification settings - Fork 528
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
export new implemented oltp traversals #1289
Conversation
Change-Id: I0e501dcffd7c38dbd6afe76e82000935160bee36
Change-Id: I934670631e3b7969e7be975bef0fb5104d633965
@@ -20,15 +20,27 @@ scriptEngines: { | |||
com.baidu.hugegraph.backend.id.IdGenerator, | |||
com.baidu.hugegraph.type.define.Directions, | |||
com.baidu.hugegraph.type.define.NodeRole, | |||
com.baidu.hugegraph.traversal.algorithm.CustomizePathsTraverser, | |||
com.baidu.hugegraph.traversal.algorithm.CollectionPathsTraverser, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export EdgeStep
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
already export
step.skipDegree, | ||
step.maxTimes); | ||
protected static RepeatEdgeStep repeatEdgeStep( | ||
HugeGraph graph, TemplatePathsAPI.TemplatePathStep step) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to TemplatePathsAPI
this.count.add(edgesCount); | ||
} | ||
|
||
return this.count.longValue(); | ||
} | ||
|
||
private Iterator<Edge> edgesOfVertex(Id source, Step step) { | ||
private Iterator<Edge> edgesOfVertexWithDedup(Id source, EdgeStep step) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
edgesOfVertexWithCount
Codecov Report
@@ Coverage Diff @@
## master #1289 +/- ##
============================================
- Coverage 62.29% 62.10% -0.20%
+ Complexity 5769 5768 -1
============================================
Files 374 377 +3
Lines 31392 31493 +101
Branches 4407 4413 +6
============================================
+ Hits 19557 19558 +1
- Misses 9845 9946 +101
+ Partials 1990 1989 -1
Continue to review full report at Codecov.
|
* export new implemented oltp traversals * move EdgeStep, WeightedEdgeStep and RepeatEdgeStep to steps package Change-Id: I0e501dcffd7c38dbd6afe76e82000935160bee36
Change-Id: I0e501dcffd7c38dbd6afe76e82000935160bee36