You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Matthias Broecheler (JIRA)" <ji...@apache.org> on 2016/09/15 16:49:20 UTC

[jira] [Created] (TINKERPOP-1452) TinkerGraph Gryo Export looses multi-properties

Matthias Broecheler created TINKERPOP-1452:
----------------------------------------------

             Summary: TinkerGraph Gryo Export looses multi-properties
                 Key: TINKERPOP-1452
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1452
             Project: TinkerPop
          Issue Type: Bug
            Reporter: Matthias Broecheler


{code}
gremlin> configuration = new org.apache.commons.configuration.BaseConfiguration()
==>org.apache.commons.configuration.BaseConfiguration@30331109
gremlin> configuration.setProperty(TinkerGraph.GREMLIN_TINKERGRAPH_GRAPH_LOCATION, '/Users/matthias/Documents/Development/tp/test2.gryo')
==>null
gremlin> configuration.setProperty(Graph.GRAPH, TinkerGraph.class.getName())
==>null
gremlin> configuration.setProperty(TinkerGraph.GREMLIN_TINKERGRAPH_GRAPH_FORMAT, 'gryo')
==>null
gremlin> graph = TinkerGraph.open(configuration)
==>tinkergraph[vertices:0 edges:0]
gremlin> v = graph.addVertex('Person')
==>v[0]
gremlin> v.property(list, 'age', 1)
==>vp[age->1]
gremlin> v.property(list, 'age', 2)
==>vp[age->2]
gremlin> v.properties()
==>vp[age->1]
==>vp[age->2]
gremlin> graph.close()
==>null
gremlin> graph = TinkerGraph.open(configuration)
==>tinkergraph[vertices:1 edges:0]
gremlin> graph.traversal().V().properties()
==>vp[age->2]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)