You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2015/09/02 19:01:47 UTC
[jira] [Created] (TINKERPOP3-828) TinkerGraph can
supportPersistence(), should we allow it.
Marko A. Rodriguez created TINKERPOP3-828:
---------------------------------------------
Summary: TinkerGraph can supportPersistence(), should we allow it.
Key: TINKERPOP3-828
URL: https://issues.apache.org/jira/browse/TINKERPOP3-828
Project: TinkerPop 3
Issue Type: Improvement
Components: tinkergraph
Reporter: Marko A. Rodriguez
Assignee: stephen mallette
Fix For: 3.0.1-incubating
We could support this:
{code}
// configuration file
graph.tinkergraph.graphLocation=/tmp/mygraph.xml
graph.tinkergraph.graphFormat=graphml
{code}
Then on {{GraphFactory.open(configuration)}} a TinkerGraph will be created and it will automagically {{graph.io(graphml()).readGraph(/tmp/mygraph.xml)}}.
Finally, and most importantly, on {{TinkerGraph.close()}, {{graph.io(graphml()).writeGraph(/tmp/mygraph.xml)}}.
[~spmallette] Had initial aprehensions about this idea (but he can't remember what they were). I will assign it to him so he can express his concerns.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)