I'm trying to find a vertex by @rid, using the Java Graph API:
Iterable<Vertex> vertices = txGraph.getVertices("@rid", "#12:0");
It gives no result.
If I try to find a vertex using a property, the above works:
Iterable<Vertex> vertices= txGraph.getVertices("name", "example-name");
How can I find the vertex by @rid?
After finding it, I want to link it to another created vertex, by way of adding a new edge, also through the Java Graph API
Edge newEdge= txGraph.addEdge("class:EdgeClass", newVertex, foundVertex, "EdgeClass");