1
votes

gremlin is a graph query language developed by stephen mallette, etc. apache tinkerpop.

I looked through its open source and found it provide API for developers(vendors). And I have a question whether I can use an OLTP or OLAP written in other languages, not java, as my graph system.

I guess it maybe difficult because I think the java class containing data like edges, vertexes and their properties need to be calculated in GraphProgram or VertexProgram process in gremlin. If I want to use gremlin to make a query for my graph, I have to copy one complete data in java and implement the necessary function to override the provided interface. Is that right? Could anyone give me any suggestions?

1

1 Answers

3
votes

If you are just talking about writing queries, you can develop both OLTP and OLAP based traversals in any of the languages that TinkerPop supports at this time: JVM-based (Java, Groovy, Scala, Clojure, etc), JavaScript, Python or .NET. With non-JVM languages however you do need an instance of Gremlin Server running or you need to use a TinkerPop implementation that exposes the Gremlin Server protocol, like DSE Graph, CosmosDB, Amazon Neptune, JanusGraph on Compose from IBM, etc.

If however you intend to write your own VertexProgram for OLAP, then you will need to use a JVM language to do that. You couldn't, for example, write a VertexProgram in Python.