Open ducky427 opened 9 years ago
like this new Neo4jGraphAPIImpl(GraphDatabaseService db)
?
Thats what I was trying @jexp. But the constructor isn't public.
Hmm in Gremlin there is no need for that? How / where do you want to use it like that?
I was trying to see if its possible to use gremlin while inside by unmanaged extension and if there are any benefits. So completely exploratory.
Looking at the tinkerpop documentation, it looks like, I need a org.apache.tinkerpop.gremlin.neo4j.structure.Neo4jGraph
. Its constructor accepts a org.neo4j.tinkerpop.api.Neo4jGraphAPI
.
All I have is a GraphDatabaseService
. So I wanted to figure out a way of doing that.
Thanks for your help.
I was thinking of using Gremlin without resorting to the deprecated
GraphDatabaseAPI
.I need to instantiate a
org.neo4j.tinkerpop.api.Neo4jGraphAPI
given a GraphDatabaseService but I can't seem to find a way.Thanks.