JanusGraph / janusgraph-dotnet

JanusGraph .NET Gremlin Language Variant (GLV)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Schema Management Support

ChenZhaobin opened this issue · comments

I find that in JanusGraph.Java we can use mgmt = graph.openManagement() to manage the schemas,
do we have similar functions in this project?

and this one: graph.tx().commit()

@ChenZhaobin Please don't ask usage questions in the form of GitHub issues as we're only using issues for feature requests or bug reports. You can instead ask question on one of JanusGraph's community channels, especially the janusgraph-users Google group or the Gitter chat.
This especially applies to your question about committing (which isn't necessary as the server already commits each traversal if it has successfully been executed).

Your question about schema management actually asks for a missing feature of this library so I have updated the issue title accordingly. Schema management is currently something that only works in Java / Groovy but you can also do that from JanusGraph.Net by submitting Groovy code as a string to the server. That also includes access to the management API.
There is however also work going on to make this more convenient but it requires changes to JanusGraph Server first. The idea is currently to add a GRPC API to the server which exposes the management interface and then we could use this API from .NET. This was discussed on janusgraph-dev if you're interested in more details on that.