Skip to content

edgeID is returned as alpha numeric instead of long #2635

Answered by vtslab
ChidambaramR asked this question in Q&A
Discussion options

You must be logged in to vote

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().

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ChidambaramR
Comment options

Answer selected by ChidambaramR
Comment options

You must be logged in to vote
1 reply
@ChidambaramR
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants