Details
-
Improvement
-
Status: Closed
-
Blocker
-
Resolution: Done
-
None
-
None
Description
The only reason we need Neo4jGraphTraversal is cause of mid-traversal cypher(). Because of this, we have lots of overhead – source code generation, some tests can't run because it method counts are off, etc. Also, lots of Neo4j code will go away .... e.g. Neo4jElementTraversal, Neo4jVertexTraversal, Neo4jGraphTraversals, Neo4jDefualGraphTraversal, Neo4jEdgeTravaersal, Neo4jVertexPropertyTraversal....
I'm wondering if we get rid of g.V().out().id().cypher('MATCH...').select('a').outE() in favor of JUST g.cypher(MATCH).select('a'). In short, cypher() is a method off Neo4jGraph and yields a GraphTraversal.
Thoughts?