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

Gremlin: Handle E() and addE() steps #4

Closed
chungquantin opened this issue Dec 1, 2022 · 0 comments · Fixed by #8
Closed

Gremlin: Handle E() and addE() steps #4

chungquantin opened this issue Dec 1, 2022 · 0 comments · Fixed by #8
Labels
enhancement New feature or request

Comments

@chungquantin
Copy link
Owner

Is your feature request related to a problem? Please describe.

  • E(): The E()-step is meant to read edges from the graph and is usually used to start a GraphTraversal. Unlike the related V() it cannot be used mid-traversal.
  • AddE(): Reasoning is the process of making explicit what is implicit in the data. What is explicit in a graph are the objects of the graph — i.e. vertices and edges. What is implicit in the graph is the traversal. In other words, traversals expose meaning where the meaning is determined by the traversal definition. For example, take the concept of a "co-developer." Two people are co-developers if they have worked on the same project together. This concept can be represented as a traversal and thus, the concept of "co-developers" can be derived. Moreover, what was once implicit can be made explicit via the addE()-step (map/sideEffect).

Describe the solution you'd like
Add step handler in process/exec.rs and collect method for edges in process/collector.rs

Additional context
Handle token terminator and source step streaming happens with property step

@chungquantin chungquantin added the enhancement New feature or request label Dec 1, 2022
@chungquantin chungquantin added this to the Gremlin Compatibility milestone Dec 1, 2022
@chungquantin chungquantin linked a pull request Dec 3, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant