Re: [TinkerPop] Tinkerpop Frames - some clarifications

105 views
Skip to first unread message

Marko Rodriguez

unread,
Nov 22, 2012, 11:37:51 PM11/22/12
to gremli...@googlegroups.com
Hi,

Frames is a lightweight object-to-graph mapper. Here are some points to your questions:

1. Yes -- all interfaces.
2. Yes -- its via "addVertex()"
graph.frame(graph.addVertex(), Person.class)

Take care,
Marko.


On Nov 22, 2012, at 12:01 PM, Eran Keisar wrote:

Hi,
I started playing around with Frames, but I think I am missing something, it seems there isn't a lot of documentation (if I missed something please let me know)
  • Interfaces - If you must use interfaces you can't create the objects in your application unless I create an implementation for each object - which is a bit cumbersome, isn't it ? is there any other option ?
  • No object to graph mapping - from what I saw you only get an object from graph auto-mapping but when you want to add an object as a vertex you need to call "addVertex" with your interfaces' class and then map your object to the proxied object, again this is a bit awkward, why was it created this way ? 
there's a good chance I am missing something or maybe Frames isn't the right solution here...
if anyone has links to code samples or any documentation that will explain a bit more on Frames it will help a lot...

Thanks,

Eran.


--
 
 

Eran Keisar

unread,
Nov 23, 2012, 8:07:09 AM11/23/12
to gremli...@googlegroups.com
Hi Marko,
Thanks for the reply!

I hoped for something "heavier" which would still allow me to easily migrate between databases, guess it's still early :)

again, thanks for the quick response. 

Eran.

Ranqi Zhu

unread,
May 14, 2013, 5:28:02 PM5/14/13
to gremli...@googlegroups.com
helpful!
Reply all
Reply to author
Forward
0 new messages