Hello,

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");

Thanks!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to