You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Klaus Stephan (JIRA)" <ji...@apache.org> on 2018/02/19 14:57:00 UTC
[jira] [Comment Edited] (TINKERPOP-1893) AddV(string label) does
not add label
[ https://issues.apache.org/jira/browse/TINKERPOP-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369201#comment-16369201 ]
Klaus Stephan edited comment on TINKERPOP-1893 at 2/19/18 2:56 PM:
-------------------------------------------------------------------
!image-2018-02-19-15-45-22-135.png!
!image-2018-02-19-15-45-46-671.png!
The functions are inside a class that wraps the initialization of the gremlin connection:
{code:java}
public class GremlinDataLayer
{
protected GremlinServer server { get; }
protected IGremlinClient client { get; }
protected Graph graph { get; }
protected GraphTraversalSource g { get; }
public GremlinDataLayer()
{
server = new GremlinServer("localhost", 32768);
client = new GremlinClient(server);
graph = new Graph();
g = graph.Traversal().WithRemote(new DriverRemoteConnection(client));
}{code}
This is my class to interact with the gremlin-server.
was (Author: kstephan):
!image-2018-02-19-15-45-22-135.png!
!image-2018-02-19-15-45-46-671.png!
The functions are inside a class that wraps the initialization of the gremlin connection:
public class GremlinDataLayer
{
protected GremlinServer server \{ get; }
protected IGremlinClient client \{ get; }
protected Graph graph \{ get; }
protected GraphTraversalSource g \{ get; }
public GremlinDataLayer()
{
server = new GremlinServer("localhost", 32768);
client = new GremlinClient(server);
graph = new Graph();
g = graph.Traversal().WithRemote(new DriverRemoteConnection(client));
}
This is my class to interact with the gremlin-server.
> AddV(string label) does not add label
> -------------------------------------
>
> Key: TINKERPOP-1893
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1893
> Project: TinkerPop
> Issue Type: Bug
> Components: dotnet
> Affects Versions: 3.2.7, 3.3.1
> Environment: Windows, IIS, docker
> Reporter: Klaus Stephan
> Assignee: Florian Hockmann
> Priority: Major
> Attachments: image-2018-02-19-15-45-22-135.png, image-2018-02-19-15-45-33-986.png, image-2018-02-19-15-45-46-671.png
>
>
> public GraphTraversal<Vertex, Vertex> AddV(string label) does not add a label to the vertex.
> Can someone please check this?
> Is there a workaround to set the label until the next build? (I am fairly new to gremlin)
> I tried this on 3.3.2-rc1 and 3.2.8-rc1 (the majors don't work for me because of TINKERPOP-1880)
> I use [https://hub.docker.com/r/bricaud/gremlin-server/] for testing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)