You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2015/09/30 19:33:04 UTC

[jira] [Closed] (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 ]

stephen mallette closed TINKERPOP3-828.
---------------------------------------
    Resolution: Implemented

Added `gremlin.tinkergraph.graphLocation` and `gremlin.tinkergraph.graphFormat` configuration options to TinkerGraph to support this feature.

> 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
>    Affects Versions: 3.0.1-incubating
>            Reporter: Marko A. Rodriguez
>            Assignee: stephen mallette
>             Fix For: 3.1.0-incubating, 3.0.2-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)