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:02:45 UTC
[jira] [Updated] (TINKERPOP3-828) TinkerGraph can
supportPersistence(), should we allow it.
[ https://issues.apache.org/jira/browse/TINKERPOP3-828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marko A. Rodriguez updated TINKERPOP3-828:
------------------------------------------
Description:
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.
was:
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.
> 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)