I have 3 tables, one is for vertex A, one is for vertex B, and the third is for edges from B to A. How can I import this graph to OrientDB?
For now, the tutorial just says how to import two csv files, one is for vertex A, and the other one is for vertex B and connected vertices from A. Load vertex A, then load vertex B and creating edges from A to B in the mean time.
This works for simple graphs. But for complicated graphs, for example, I have three types of vertices, A, B and C, three types of edges, A -> B, B -> C, C -> A, how can I import this graph?
I want to use the etl to load the graph although JAVA API should be a solution.
Update:
Finally, I figured out how Stack Overflow works. I shouldn't try to insert data in the comment, update the question instead.
This is a concrete example for my question:
Two types of vertices:
masters(John, Joey, Michael, Robert, Allen),
pets(Snoopy, White, Blue).
Two types of relationships:
like(John likes Snoopy, Michael linkes White, Michael likes Blue, Allen likes Snoopy, Michael likes White),
belong to(Snoopy belongs to Joey, White belongs to Robert, Blue belongs to John).
How can I import this little network into OrientDB using OETL?