Get attributes based on edge id #4522
Unanswered
w158937299
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You can also use RelationIdentifier::toString method to construct the edge out of this representation. E.g. public class App {
public static void main(String[] args) {
org.janusgraph.graphdb.relations.RelationIdentifier id = new RelationIdentifier(4120, 10261, 27651, 20544);
System.out.println(id);
}
} which would print out the result: So you could use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is known that the id of an edge is {'outVertexId': 4120, 'typeId': 10261, 'relationId': 27651, 'inVertexId': 20544}, so how do we get the corresponding attribute based on this id, I have tried many ways but I am unable to get it. Could you please provide me with the appropriate query?
Beta Was this translation helpful? Give feedback.
All reactions