Repository navigation
edgeID is returned as alpha numeric instead of long #2635
|
I use the following code to create an edge This prints edgeId as This is my current configuration |
Replies: 2 comments 2 replies
|
g.E().id() returns RelationIdentifier instances, see: https://javadoc.io/doc/org.janusgraph/janusgraph-driver/latest/org/janusgraph/graphdb/relations/RelationIdentifier.html. If you want the long id, use g.E().id().getRelationId(). |
Where did you get that? Only vertex IDs are System.out.println(e.id().toString());The |
g.E().id() returns RelationIdentifier instances, see: https://javadoc.io/doc/org.janusgraph/janusgraph-driver/latest/org/janusgraph/graphdb/relations/RelationIdentifier.html. If you want the long id, use g.E().id().getRelationId().