[
https://issues.apache.org/jira/browse/TINKERPOP-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16221858#comment-16221858
]
Jorge Bay commented on TINKERPOP-1816:
--------------------------------------
Looking at the initial title from the OP, "the .NET port has no useful
documentation", maybe it shows that there is a confusion of what the .NET GLV
is.
The GLV is not a gremlin machine written in another language (not a port), is
just a way to talk to a gremlin server using a different native language than
groovy/java.
The intro on the docs [On Gremlin Language
Variants|http://tinkerpop.apache.org/docs/current/reference/#_on_gremlin_language_variants]
provides further info:
bq. Gremlin is written in Java 8. There are various language variants of
Gremlin such as Gremlin-Groovy (packaged with TinkerPop3), Gremlin-Python
(packaged with TinkerPop3), Gremlin-Scala, Gremlin-JavaScript, Gremlin-Clojure
(known as Ogre), etc. It is best to think of Gremlin as a style of graph
traversing that is not bound to a particular programming language per se.
But it's separate (and several headers above) from the [Gremlin Variants
doc|http://tinkerpop.apache.org/docs/current/reference/#gremlin-variants],
which could give an incomplete picture.
I think we could join both doc topics, clarifying that the Gremlin server
implementation is written in java and you can communicate with it with any of
the language variants using a driver.
> Consider improvements to the .NET documentation
> -----------------------------------------------
>
> Key: TINKERPOP-1816
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1816
> Project: TinkerPop
> Issue Type: Improvement
> Components: documentation
> Affects Versions: 3.2.6
> Reporter: Bill Woo
> Priority: Minor
>
> Without at least one complete code sample, you are wasting potential users;
> time.
> How do you run a query/traversal ?
> By "stumbling around in the dark" I was able to get this far:
> private Graph graph = new Graph();
> private GraphTraversalSource g;
> // in method body
> g = graph.Traversal().WithRemote(new DriverRemoteConnection(new
> GremlinClient(new GremlinServer("localhost", 8182))));
>
> Vertex v1 = new Vertex("Bill");
> g.AddV(v1);
> Vertex v2 = new Vertex("Julie");
> g.AddV(v2);
> Edge e1 = new Edge("e1", v1, "Knows", v2);
> g.AddE(e1);
> VertexProperty p1 = new VertexProperty("p1","BillProp",
> "TestProp", v1);
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)