I want to create class from JSON schema using JAVA API.
And later I want to insert JSONs. Is it possible?
Use case is:
I want to store Person, Person-profile(JSON) as vertices and create edge between the same.
Also I would like to query over JSON fields and retrieve Person and traverse related vertices etc.
Correct me if this is wrong approach.
0
votes
1 Answers
0
votes
Yes this is possible. See http://orientdb.com/docs/2.0/orientdb.wiki/Tutorial-Java.html for some examples. If you have specific questions, feel free to ask.