How to return a Vertex in the tinkerpop/gremlin format instead of the DSE graph format?
问题 I am trying to return a Vertex (in tinkerpop format) that it was just created with Gremlin: DseCluster dseCluster = DseCluster.builder() .addContactPoint(DbC.dseHost) .build(); DseSession dseSession = dseCluster.connect(); GraphTraversal traversal = graph.addV(VertexLabels.User) .property("username", "testuser") GraphStatement graphStatement = DseGraph.statementFromTraversal( traversal ); GraphResultSet grs = dseSession.executeGraph(graphStatement.setGraphName(DbC.graphName)); Vertex v = grs