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
|
Beta Was this translation helpful? Give feedback.
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(). |
Beta Was this translation helpful? Give feedback.
-
Where did you get that? Only vertex IDs are System.out.println(e.id().toString()); The |
Beta Was this translation helpful? Give feedback.
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().