Re: Can I use JanusGraph with C#.net and if so how?


Florian Hockmann <f...@...>
 

I'm one of the developers of Gremlin.Net and I would suggest that you use one of the Gremlin.Net versions that are now part of TinkerPop although they are only release candidates right now. For JanusGraph, this would be version 3.2.6-rc1.

These newer versions allow to write Gremlin queries directly as C# code whereas older versions can just send gremlin-groovy requests as strings to the server. A simple example looks like this:
var graph = new Graph();
var g = graph.Traversal().WithRemote(new DriverRemoteConnection(new GremlinClient(new GremlinServer("localhost", 8182))));
// reuse 'g' in your application
var persons = g.V().HasLabel("person").Has("age",Gt(30)).Order().By("age",decr).ToList();

The full documentation can be found here:

Am Samstag, 23. September 2017 16:06:47 UTC+2 schrieb Misha Brukman:

Since JanusGraph is a TinkerPop-compliant graph database, you can use any language drivers on this page: http://tinkerpop.apache.org/

In your case, it sounds like Gremlin.NET (C#) library is the one you want to use — there is a code sample and more API docs on that project's GitHub page.

On Sat, Sep 23, 2017 at 7:11 AM, <bin...@...> wrote:
Hello,

I am new to JanusGraph and I want to use it in a C# project. I plan to use AWS DynamoDB as a storage engine.

Does JanusGraph support writing the implementation in C# programming language?

If it does, what library can I use?
Can you please provide me with a sample project (may be in Github) or a blog post?

Thanks.

--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/6d04fdc2-3e7b-4987-b35e-b7de0695c67e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.