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

OrientGraph.getIndexedVertices() what it's good for? #53

Open
velo opened this issue Jan 10, 2016 · 2 comments
Open

OrientGraph.getIndexedVertices() what it's good for? #53

velo opened this issue Jan 10, 2016 · 2 comments
Assignees

Comments

@velo
Copy link
Contributor

velo commented Jan 10, 2016

Hey @mpollmeier,

What is this getIndexedVertices() do we have any use case for it?

https://coveralls.io/builds/4645245/source?filename=driver%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Ftinkerpop%2Fgremlin%2Forientdb%2FOrientGraph.java#L210

@mpollmeier
Copy link
Collaborator

it's used by OrientGraphStep.vertices() - that's a graph traversal strategy that optimises the vertex lookup by trying to find an index. without this, it would always skim through all vertices. I would have suspected that OrientGraphIndexTest does use it...

@velo
Copy link
Contributor Author

velo commented Jan 10, 2016

Apparently it does not....

otherwise the coverage wouldn't be zero...

@wolf4ood wolf4ood self-assigned this Aug 7, 2017
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

No branches or pull requests

3 participants