http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v1d0.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v1d0.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v1d0.json new file mode 100644 index 0000000..13719f6 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v1d0.json @@ -0,0 +1,313 @@ +{ + "vertices" : [ { + "id" : 1, + "label" : "person", + "type" : "vertex", + "properties" : { + "name" : [ { + "id" : 0, + "value" : "marko" + } ], + "location" : [ { + "id" : 6, + "value" : "san diego", + "properties" : { + "startTime" : 1997, + "endTime" : 2001 + } + }, { + "id" : 7, + "value" : "santa cruz", + "properties" : { + "startTime" : 2001, + "endTime" : 2004 + } + }, { + "id" : 8, + "value" : "brussels", + "properties" : { + "startTime" : 2004, + "endTime" : 2005 + } + }, { + "id" : 9, + "value" : "santa fe", + "properties" : { + "startTime" : 2005 + } + } ] + } + }, { + "id" : 7, + "label" : "person", + "type" : "vertex", + "properties" : { + "name" : [ { + "id" : 1, + "value" : "stephen" + } ], + "location" : [ { + "id" : 10, + "value" : "centreville", + "properties" : { + "startTime" : 1990, + "endTime" : 2000 + } + }, { + "id" : 11, + "value" : "dulles", + "properties" : { + "startTime" : 2000, + "endTime" : 2006 + } + }, { + "id" : 12, + "value" : "purcellville", + "properties" : { + "startTime" : 2006 + } + } ] + } + }, { + "id" : 8, + "label" : "person", + "type" : "vertex", + "properties" : { + "name" : [ { + "id" : 2, + "value" : "matthias" + } ], + "location" : [ { + "id" : 13, + "value" : "bremen", + "properties" : { + "startTime" : 2004, + "endTime" : 2007 + } + }, { + "id" : 14, + "value" : "baltimore", + "properties" : { + "startTime" : 2007, + "endTime" : 2011 + } + }, { + "id" : 15, + "value" : "oakland", + "properties" : { + "startTime" : 2011, + "endTime" : 2014 + } + }, { + "id" : 16, + "value" : "seattle", + "properties" : { + "startTime" : 2014 + } + } ] + } + }, { + "id" : 9, + "label" : "person", + "type" : "vertex", + "properties" : { + "name" : [ { + "id" : 3, + "value" : "daniel" + } ], + "location" : [ { + "id" : 17, + "value" : "spremberg", + "properties" : { + "startTime" : 1982, + "endTime" : 2005 + } + }, { + "id" : 18, + "value" : "kaiserslautern", + "properties" : { + "startTime" : 2005, + "endTime" : 2009 + } + }, { + "id" : 19, + "value" : "aachen", + "properties" : { + "startTime" : 2009 + } + } ] + } + }, { + "id" : 10, + "label" : "software", + "type" : "vertex", + "properties" : { + "name" : [ { + "id" : 4, + "value" : "gremlin" + } ] + } + }, { + "id" : 11, + "label" : "software", + "type" : "vertex", + "properties" : { + "name" : [ { + "id" : 5, + "value" : "tinkergraph" + } ] + } + } ], + "edges" : [ { + "id" : 13, + "label" : "develops", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 1, + "properties" : { + "since" : 2009 + } + }, { + "id" : 14, + "label" : "develops", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 11, + "outV" : 1, + "properties" : { + "since" : 2010 + } + }, { + "id" : 15, + "label" : "uses", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 1, + "properties" : { + "skill" : 4 + } + }, { + "id" : 16, + "label" : "uses", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 11, + "outV" : 1, + "properties" : { + "skill" : 5 + } + }, { + "id" : 17, + "label" : "develops", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 7, + "properties" : { + "since" : 2010 + } + }, { + "id" : 18, + "label" : "develops", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 11, + "outV" : 7, + "properties" : { + "since" : 2011 + } + }, { + "id" : 19, + "label" : "uses", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 7, + "properties" : { + "skill" : 5 + } + }, { + "id" : 20, + "label" : "uses", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 11, + "outV" : 7, + "properties" : { + "skill" : 4 + } + }, { + "id" : 21, + "label" : "develops", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 8, + "properties" : { + "since" : 2012 + } + }, { + "id" : 22, + "label" : "uses", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 8, + "properties" : { + "skill" : 3 + } + }, { + "id" : 23, + "label" : "uses", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 11, + "outV" : 8, + "properties" : { + "skill" : 3 + } + }, { + "id" : 24, + "label" : "uses", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 9, + "properties" : { + "skill" : 5 + } + }, { + "id" : 25, + "label" : "uses", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 11, + "outV" : 9, + "properties" : { + "skill" : 3 + } + }, { + "id" : 26, + "label" : "traverses", + "type" : "edge", + "inVLabel" : "software", + "outVLabel" : "software", + "inV" : 11, + "outV" : 10 + } ] +} \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v2d0-no-types.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v2d0-no-types.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v2d0-no-types.json new file mode 100644 index 0000000..94ad061 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v2d0-no-types.json @@ -0,0 +1,352 @@ +{ + "vertices" : [ { + "id" : 1, + "label" : "person", + "properties" : { + "name" : [ { + "id" : 0, + "value" : "marko", + "label" : "name" + } ], + "location" : [ { + "id" : 6, + "value" : "san diego", + "label" : "location", + "properties" : { + "startTime" : 1997, + "endTime" : 2001 + } + }, { + "id" : 7, + "value" : "santa cruz", + "label" : "location", + "properties" : { + "startTime" : 2001, + "endTime" : 2004 + } + }, { + "id" : 8, + "value" : "brussels", + "label" : "location", + "properties" : { + "startTime" : 2004, + "endTime" : 2005 + } + }, { + "id" : 9, + "value" : "santa fe", + "label" : "location", + "properties" : { + "startTime" : 2005 + } + } ] + } + }, { + "id" : 7, + "label" : "person", + "properties" : { + "name" : [ { + "id" : 1, + "value" : "stephen", + "label" : "name" + } ], + "location" : [ { + "id" : 10, + "value" : "centreville", + "label" : "location", + "properties" : { + "startTime" : 1990, + "endTime" : 2000 + } + }, { + "id" : 11, + "value" : "dulles", + "label" : "location", + "properties" : { + "startTime" : 2000, + "endTime" : 2006 + } + }, { + "id" : 12, + "value" : "purcellville", + "label" : "location", + "properties" : { + "startTime" : 2006 + } + } ] + } + }, { + "id" : 8, + "label" : "person", + "properties" : { + "name" : [ { + "id" : 2, + "value" : "matthias", + "label" : "name" + } ], + "location" : [ { + "id" : 13, + "value" : "bremen", + "label" : "location", + "properties" : { + "startTime" : 2004, + "endTime" : 2007 + } + }, { + "id" : 14, + "value" : "baltimore", + "label" : "location", + "properties" : { + "startTime" : 2007, + "endTime" : 2011 + } + }, { + "id" : 15, + "value" : "oakland", + "label" : "location", + "properties" : { + "startTime" : 2011, + "endTime" : 2014 + } + }, { + "id" : 16, + "value" : "seattle", + "label" : "location", + "properties" : { + "startTime" : 2014 + } + } ] + } + }, { + "id" : 9, + "label" : "person", + "properties" : { + "name" : [ { + "id" : 3, + "value" : "daniel", + "label" : "name" + } ], + "location" : [ { + "id" : 17, + "value" : "spremberg", + "label" : "location", + "properties" : { + "startTime" : 1982, + "endTime" : 2005 + } + }, { + "id" : 18, + "value" : "kaiserslautern", + "label" : "location", + "properties" : { + "startTime" : 2005, + "endTime" : 2009 + } + }, { + "id" : 19, + "value" : "aachen", + "label" : "location", + "properties" : { + "startTime" : 2009 + } + } ] + } + }, { + "id" : 10, + "label" : "software", + "properties" : { + "name" : [ { + "id" : 4, + "value" : "gremlin", + "label" : "name" + } ] + } + }, { + "id" : 11, + "label" : "software", + "properties" : { + "name" : [ { + "id" : 5, + "value" : "tinkergraph", + "label" : "name" + } ] + } + } ], + "edges" : [ { + "id" : 13, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 1, + "properties" : { + "since" : { + "key" : "since", + "value" : 2009 + } + } + }, { + "id" : 14, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 11, + "outV" : 1, + "properties" : { + "since" : { + "key" : "since", + "value" : 2010 + } + } + }, { + "id" : 15, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 1, + "properties" : { + "skill" : { + "key" : "skill", + "value" : 4 + } + } + }, { + "id" : 16, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 11, + "outV" : 1, + "properties" : { + "skill" : { + "key" : "skill", + "value" : 5 + } + } + }, { + "id" : 17, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 7, + "properties" : { + "since" : { + "key" : "since", + "value" : 2010 + } + } + }, { + "id" : 18, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 11, + "outV" : 7, + "properties" : { + "since" : { + "key" : "since", + "value" : 2011 + } + } + }, { + "id" : 19, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 7, + "properties" : { + "skill" : { + "key" : "skill", + "value" : 5 + } + } + }, { + "id" : 20, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 11, + "outV" : 7, + "properties" : { + "skill" : { + "key" : "skill", + "value" : 4 + } + } + }, { + "id" : 21, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 8, + "properties" : { + "since" : { + "key" : "since", + "value" : 2012 + } + } + }, { + "id" : 22, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 8, + "properties" : { + "skill" : { + "key" : "skill", + "value" : 3 + } + } + }, { + "id" : 23, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 11, + "outV" : 8, + "properties" : { + "skill" : { + "key" : "skill", + "value" : 3 + } + } + }, { + "id" : 24, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 10, + "outV" : 9, + "properties" : { + "skill" : { + "key" : "skill", + "value" : 5 + } + } + }, { + "id" : 25, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : 11, + "outV" : 9, + "properties" : { + "skill" : { + "key" : "skill", + "value" : 3 + } + } + }, { + "id" : 26, + "label" : "traverses", + "inVLabel" : "software", + "outVLabel" : "software", + "inV" : 11, + "outV" : 10 + } ] +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v2d0-partial.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v2d0-partial.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v2d0-partial.json new file mode 100644 index 0000000..24e95ed --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v2d0-partial.json @@ -0,0 +1,829 @@ +{ + "@type" : "tinker:graph", + "@value" : { + "vertices" : [ { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "label" : "person", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 0 + }, + "value" : "marko", + "label" : "name" + } + } ], + "location" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 6 + }, + "value" : "san diego", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 1997 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2001 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 7 + }, + "value" : "santa cruz", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2001 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2004 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 8 + }, + "value" : "brussels", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2004 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 9 + }, + "value" : "santa fe", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + } ] + } + } + }, { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 7 + }, + "label" : "person", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 1 + }, + "value" : "stephen", + "label" : "name" + } + } ], + "location" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 10 + }, + "value" : "centreville", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 1990 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2000 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 11 + }, + "value" : "dulles", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2000 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2006 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 12 + }, + "value" : "purcellville", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2006 + } + } + } + } ] + } + } + }, { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 8 + }, + "label" : "person", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 2 + }, + "value" : "matthias", + "label" : "name" + } + } ], + "location" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 13 + }, + "value" : "bremen", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2004 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2007 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 14 + }, + "value" : "baltimore", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2007 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2011 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 15 + }, + "value" : "oakland", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2011 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2014 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 16 + }, + "value" : "seattle", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2014 + } + } + } + } ] + } + } + }, { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 9 + }, + "label" : "person", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 3 + }, + "value" : "daniel", + "label" : "name" + } + } ], + "location" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 17 + }, + "value" : "spremberg", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 1982 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 18 + }, + "value" : "kaiserslautern", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2005 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2009 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 19 + }, + "value" : "aachen", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2009 + } + } + } + } ] + } + } + }, { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "label" : "software", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 4 + }, + "value" : "gremlin", + "label" : "name" + } + } ] + } + } + }, { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "label" : "software", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 5 + }, + "value" : "tinkergraph", + "label" : "name" + } + } ] + } + } + } ], + "edges" : [ { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 13 + }, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "properties" : { + "since" : { + "@type" : "g:Property", + "@value" : { + "key" : "since", + "value" : { + "@type" : "g:Int32", + "@value" : 2009 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 14 + }, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "properties" : { + "since" : { + "@type" : "g:Property", + "@value" : { + "key" : "since", + "value" : { + "@type" : "g:Int32", + "@value" : 2010 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 15 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 4 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 16 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 5 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 17 + }, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 7 + }, + "properties" : { + "since" : { + "@type" : "g:Property", + "@value" : { + "key" : "since", + "value" : { + "@type" : "g:Int32", + "@value" : 2010 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 18 + }, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 7 + }, + "properties" : { + "since" : { + "@type" : "g:Property", + "@value" : { + "key" : "since", + "value" : { + "@type" : "g:Int32", + "@value" : 2011 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 19 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 7 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 5 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 20 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 7 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 4 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 21 + }, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 8 + }, + "properties" : { + "since" : { + "@type" : "g:Property", + "@value" : { + "key" : "since", + "value" : { + "@type" : "g:Int32", + "@value" : 2012 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 22 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 8 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 3 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 23 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 8 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 3 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 24 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 9 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 5 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 25 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 9 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 3 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 26 + }, + "label" : "traverses", + "inVLabel" : "software", + "outVLabel" : "software", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 10 + } + } + } ] + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v3d0.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v3d0.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v3d0.json new file mode 100644 index 0000000..24e95ed --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/tinkergraph-v3d0.json @@ -0,0 +1,829 @@ +{ + "@type" : "tinker:graph", + "@value" : { + "vertices" : [ { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "label" : "person", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 0 + }, + "value" : "marko", + "label" : "name" + } + } ], + "location" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 6 + }, + "value" : "san diego", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 1997 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2001 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 7 + }, + "value" : "santa cruz", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2001 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2004 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 8 + }, + "value" : "brussels", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2004 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 9 + }, + "value" : "santa fe", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + } ] + } + } + }, { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 7 + }, + "label" : "person", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 1 + }, + "value" : "stephen", + "label" : "name" + } + } ], + "location" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 10 + }, + "value" : "centreville", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 1990 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2000 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 11 + }, + "value" : "dulles", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2000 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2006 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 12 + }, + "value" : "purcellville", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2006 + } + } + } + } ] + } + } + }, { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 8 + }, + "label" : "person", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 2 + }, + "value" : "matthias", + "label" : "name" + } + } ], + "location" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 13 + }, + "value" : "bremen", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2004 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2007 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 14 + }, + "value" : "baltimore", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2007 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2011 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 15 + }, + "value" : "oakland", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2011 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2014 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 16 + }, + "value" : "seattle", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2014 + } + } + } + } ] + } + } + }, { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 9 + }, + "label" : "person", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 3 + }, + "value" : "daniel", + "label" : "name" + } + } ], + "location" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 17 + }, + "value" : "spremberg", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 1982 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 18 + }, + "value" : "kaiserslautern", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2005 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2009 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 19 + }, + "value" : "aachen", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2009 + } + } + } + } ] + } + } + }, { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "label" : "software", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 4 + }, + "value" : "gremlin", + "label" : "name" + } + } ] + } + } + }, { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "label" : "software", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 5 + }, + "value" : "tinkergraph", + "label" : "name" + } + } ] + } + } + } ], + "edges" : [ { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 13 + }, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "properties" : { + "since" : { + "@type" : "g:Property", + "@value" : { + "key" : "since", + "value" : { + "@type" : "g:Int32", + "@value" : 2009 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 14 + }, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "properties" : { + "since" : { + "@type" : "g:Property", + "@value" : { + "key" : "since", + "value" : { + "@type" : "g:Int32", + "@value" : 2010 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 15 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 4 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 16 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 5 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 17 + }, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 7 + }, + "properties" : { + "since" : { + "@type" : "g:Property", + "@value" : { + "key" : "since", + "value" : { + "@type" : "g:Int32", + "@value" : 2010 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 18 + }, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 7 + }, + "properties" : { + "since" : { + "@type" : "g:Property", + "@value" : { + "key" : "since", + "value" : { + "@type" : "g:Int32", + "@value" : 2011 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 19 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 7 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 5 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 20 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 7 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 4 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 21 + }, + "label" : "develops", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 8 + }, + "properties" : { + "since" : { + "@type" : "g:Property", + "@value" : { + "key" : "since", + "value" : { + "@type" : "g:Int32", + "@value" : 2012 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 22 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 8 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 3 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 23 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 8 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 3 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 24 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 10 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 9 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 5 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 25 + }, + "label" : "uses", + "inVLabel" : "software", + "outVLabel" : "person", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 9 + }, + "properties" : { + "skill" : { + "@type" : "g:Property", + "@value" : { + "key" : "skill", + "value" : { + "@type" : "g:Int32", + "@value" : 3 + } + } + } + } + } + }, { + "@type" : "g:Edge", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 26 + }, + "label" : "traverses", + "inVLabel" : "software", + "outVLabel" : "software", + "inV" : { + "@type" : "g:Int32", + "@value" : 11 + }, + "outV" : { + "@type" : "g:Int32", + "@value" : 10 + } + } + } ] + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traversalmetrics-v2d0-partial.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traversalmetrics-v2d0-partial.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traversalmetrics-v2d0-partial.json new file mode 100644 index 0000000..fdd18a4 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traversalmetrics-v2d0-partial.json @@ -0,0 +1,114 @@ +{ + "@type" : "g:TraversalMetrics", + "@value" : { + "dur" : { + "@type" : "g:Double", + "@value" : 0.004 + }, + "metrics" : [ { + "@type" : "g:Metrics", + "@value" : { + "dur" : { + "@type" : "g:Double", + "@value" : 100.0 + }, + "counts" : { + "traverserCount" : { + "@type" : "g:Int64", + "@value" : 4 + }, + "elementCount" : { + "@type" : "g:Int64", + "@value" : 4 + } + }, + "name" : "TinkerGraphStep(vertex,[~label.eq(person)])", + "annotations" : { + "percentDur" : { + "@type" : "g:Double", + "@value" : 25.0 + } + }, + "id" : "7.0.0()" + } + }, { + "@type" : "g:Metrics", + "@value" : { + "dur" : { + "@type" : "g:Double", + "@value" : 100.0 + }, + "counts" : { + "traverserCount" : { + "@type" : "g:Int64", + "@value" : 13 + }, + "elementCount" : { + "@type" : "g:Int64", + "@value" : 13 + } + }, + "name" : "VertexStep(OUT,vertex)", + "annotations" : { + "percentDur" : { + "@type" : "g:Double", + "@value" : 25.0 + } + }, + "id" : "2.0.0()" + } + }, { + "@type" : "g:Metrics", + "@value" : { + "dur" : { + "@type" : "g:Double", + "@value" : 100.0 + }, + "counts" : { + "traverserCount" : { + "@type" : "g:Int64", + "@value" : 7 + }, + "elementCount" : { + "@type" : "g:Int64", + "@value" : 7 + } + }, + "name" : "VertexStep(OUT,vertex)", + "annotations" : { + "percentDur" : { + "@type" : "g:Double", + "@value" : 25.0 + } + }, + "id" : "3.0.0()" + } + }, { + "@type" : "g:Metrics", + "@value" : { + "dur" : { + "@type" : "g:Double", + "@value" : 100.0 + }, + "counts" : { + "traverserCount" : { + "@type" : "g:Int64", + "@value" : 1 + }, + "elementCount" : { + "@type" : "g:Int64", + "@value" : 1 + } + }, + "name" : "TreeStep", + "annotations" : { + "percentDur" : { + "@type" : "g:Double", + "@value" : 25.0 + } + }, + "id" : "4.0.0()" + } + } ] + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traversalmetrics-v3d0.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traversalmetrics-v3d0.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traversalmetrics-v3d0.json new file mode 100644 index 0000000..46f7636 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traversalmetrics-v3d0.json @@ -0,0 +1,109 @@ +{ + "@type" : "g:TraversalMetrics", + "@value" : { + "@type" : "g:Map", + "@value" : [ "dur", { + "@type" : "g:Double", + "@value" : 0.004 + }, "metrics", { + "@type" : "g:List", + "@value" : [ { + "@type" : "g:Metrics", + "@value" : { + "@type" : "g:Map", + "@value" : [ "dur", { + "@type" : "g:Double", + "@value" : 100.0 + }, "counts", { + "@type" : "g:Map", + "@value" : [ "traverserCount", { + "@type" : "g:Int64", + "@value" : 4 + }, "elementCount", { + "@type" : "g:Int64", + "@value" : 4 + } ] + }, "name", "TinkerGraphStep(vertex,[~label.eq(person)])", "annotations", { + "@type" : "g:Map", + "@value" : [ "percentDur", { + "@type" : "g:Double", + "@value" : 25.0 + } ] + }, "id", "7.0.0()" ] + } + }, { + "@type" : "g:Metrics", + "@value" : { + "@type" : "g:Map", + "@value" : [ "dur", { + "@type" : "g:Double", + "@value" : 100.0 + }, "counts", { + "@type" : "g:Map", + "@value" : [ "traverserCount", { + "@type" : "g:Int64", + "@value" : 13 + }, "elementCount", { + "@type" : "g:Int64", + "@value" : 13 + } ] + }, "name", "VertexStep(OUT,vertex)", "annotations", { + "@type" : "g:Map", + "@value" : [ "percentDur", { + "@type" : "g:Double", + "@value" : 25.0 + } ] + }, "id", "2.0.0()" ] + } + }, { + "@type" : "g:Metrics", + "@value" : { + "@type" : "g:Map", + "@value" : [ "dur", { + "@type" : "g:Double", + "@value" : 100.0 + }, "counts", { + "@type" : "g:Map", + "@value" : [ "traverserCount", { + "@type" : "g:Int64", + "@value" : 7 + }, "elementCount", { + "@type" : "g:Int64", + "@value" : 7 + } ] + }, "name", "VertexStep(OUT,vertex)", "annotations", { + "@type" : "g:Map", + "@value" : [ "percentDur", { + "@type" : "g:Double", + "@value" : 25.0 + } ] + }, "id", "3.0.0()" ] + } + }, { + "@type" : "g:Metrics", + "@value" : { + "@type" : "g:Map", + "@value" : [ "dur", { + "@type" : "g:Double", + "@value" : 100.0 + }, "counts", { + "@type" : "g:Map", + "@value" : [ "traverserCount", { + "@type" : "g:Int64", + "@value" : 1 + }, "elementCount", { + "@type" : "g:Int64", + "@value" : 1 + } ] + }, "name", "TreeStep", "annotations", { + "@type" : "g:Map", + "@value" : [ "percentDur", { + "@type" : "g:Double", + "@value" : 25.0 + } ] + }, "id", "4.0.0()" ] + } + } ] + } ] + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traverser-v2d0-partial.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traverser-v2d0-partial.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traverser-v2d0-partial.json new file mode 100644 index 0000000..a59a29e --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traverser-v2d0-partial.json @@ -0,0 +1,109 @@ +{ + "@type" : "g:Traverser", + "@value" : { + "bulk" : { + "@type" : "g:Int64", + "@value" : 1 + }, + "value" : { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "label" : "person", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 0 + }, + "value" : "marko", + "label" : "name" + } + } ], + "location" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 6 + }, + "value" : "san diego", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 1997 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2001 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 7 + }, + "value" : "santa cruz", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2001 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2004 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 8 + }, + "value" : "brussels", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2004 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 9 + }, + "value" : "santa fe", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + } ] + } + } + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traverser-v3d0.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traverser-v3d0.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traverser-v3d0.json new file mode 100644 index 0000000..a59a29e --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/traverser-v3d0.json @@ -0,0 +1,109 @@ +{ + "@type" : "g:Traverser", + "@value" : { + "bulk" : { + "@type" : "g:Int64", + "@value" : 1 + }, + "value" : { + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "label" : "person", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 0 + }, + "value" : "marko", + "label" : "name" + } + } ], + "location" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 6 + }, + "value" : "san diego", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 1997 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2001 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 7 + }, + "value" : "santa cruz", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2001 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2004 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 8 + }, + "value" : "brussels", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2004 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 9 + }, + "value" : "santa fe", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + } ] + } + } + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/uuid-v2d0-no-types.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/uuid-v2d0-no-types.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/uuid-v2d0-no-types.json new file mode 100644 index 0000000..b36ff96 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/uuid-v2d0-no-types.json @@ -0,0 +1 @@ +"41d2e28a-20a4-4ab0-b379-d810dede3786" \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/uuid-v2d0-partial.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/uuid-v2d0-partial.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/uuid-v2d0-partial.json new file mode 100644 index 0000000..1cf09f0 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/uuid-v2d0-partial.json @@ -0,0 +1,4 @@ +{ + "@type" : "g:UUID", + "@value" : "41d2e28a-20a4-4ab0-b379-d810dede3786" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/uuid-v3d0.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/uuid-v3d0.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/uuid-v3d0.json new file mode 100644 index 0000000..1cf09f0 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/uuid-v3d0.json @@ -0,0 +1,4 @@ +{ + "@type" : "g:UUID", + "@value" : "41d2e28a-20a4-4ab0-b379-d810dede3786" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v1d0.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v1d0.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v1d0.json new file mode 100644 index 0000000..a885f58 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v1d0.json @@ -0,0 +1,39 @@ +{ + "id" : 1, + "label" : "person", + "type" : "vertex", + "properties" : { + "name" : [ { + "id" : 0, + "value" : "marko" + } ], + "location" : [ { + "id" : 6, + "value" : "san diego", + "properties" : { + "startTime" : 1997, + "endTime" : 2001 + } + }, { + "id" : 7, + "value" : "santa cruz", + "properties" : { + "startTime" : 2001, + "endTime" : 2004 + } + }, { + "id" : 8, + "value" : "brussels", + "properties" : { + "startTime" : 2004, + "endTime" : 2005 + } + }, { + "id" : 9, + "value" : "santa fe", + "properties" : { + "startTime" : 2005 + } + } ] + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v2d0-no-types.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v2d0-no-types.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v2d0-no-types.json new file mode 100644 index 0000000..8e6155f --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v2d0-no-types.json @@ -0,0 +1,43 @@ +{ + "id" : 1, + "label" : "person", + "properties" : { + "name" : [ { + "id" : 0, + "value" : "marko", + "label" : "name" + } ], + "location" : [ { + "id" : 6, + "value" : "san diego", + "label" : "location", + "properties" : { + "startTime" : 1997, + "endTime" : 2001 + } + }, { + "id" : 7, + "value" : "santa cruz", + "label" : "location", + "properties" : { + "startTime" : 2001, + "endTime" : 2004 + } + }, { + "id" : 8, + "value" : "brussels", + "label" : "location", + "properties" : { + "startTime" : 2004, + "endTime" : 2005 + } + }, { + "id" : 9, + "value" : "santa fe", + "label" : "location", + "properties" : { + "startTime" : 2005 + } + } ] + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v2d0-partial.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v2d0-partial.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v2d0-partial.json new file mode 100644 index 0000000..f102230 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v2d0-partial.json @@ -0,0 +1,100 @@ +{ + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "label" : "person", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 0 + }, + "value" : "marko", + "label" : "name" + } + } ], + "location" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 6 + }, + "value" : "san diego", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 1997 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2001 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 7 + }, + "value" : "santa cruz", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2001 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2004 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 8 + }, + "value" : "brussels", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2004 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 9 + }, + "value" : "santa fe", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + } ] + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v3d0.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v3d0.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v3d0.json new file mode 100644 index 0000000..f102230 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertex-v3d0.json @@ -0,0 +1,100 @@ +{ + "@type" : "g:Vertex", + "@value" : { + "id" : { + "@type" : "g:Int32", + "@value" : 1 + }, + "label" : "person", + "properties" : { + "name" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 0 + }, + "value" : "marko", + "label" : "name" + } + } ], + "location" : [ { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 6 + }, + "value" : "san diego", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 1997 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2001 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 7 + }, + "value" : "santa cruz", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2001 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2004 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 8 + }, + "value" : "brussels", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2004 + }, + "endTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + }, { + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 9 + }, + "value" : "santa fe", + "label" : "location", + "properties" : { + "startTime" : { + "@type" : "g:Int32", + "@value" : 2005 + } + } + } + } ] + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v1d0.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v1d0.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v1d0.json new file mode 100644 index 0000000..74025a8 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v1d0.json @@ -0,0 +1,5 @@ +{ + "id" : 0, + "value" : "marko", + "label" : "name" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v2d0-no-types.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v2d0-no-types.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v2d0-no-types.json new file mode 100644 index 0000000..74025a8 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v2d0-no-types.json @@ -0,0 +1,5 @@ +{ + "id" : 0, + "value" : "marko", + "label" : "name" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v2d0-partial.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v2d0-partial.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v2d0-partial.json new file mode 100644 index 0000000..af184b1 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v2d0-partial.json @@ -0,0 +1,11 @@ +{ + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 0 + }, + "value" : "marko", + "label" : "name" + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v3d0.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v3d0.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v3d0.json new file mode 100644 index 0000000..af184b1 --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/vertexproperty-v3d0.json @@ -0,0 +1,11 @@ +{ + "@type" : "g:VertexProperty", + "@value" : { + "id" : { + "@type" : "g:Int64", + "@value" : 0 + }, + "value" : "marko", + "label" : "name" + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/334314fb/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/year-v2d0-partial.json ---------------------------------------------------------------------- diff --git a/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/year-v2d0-partial.json b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/year-v2d0-partial.json new file mode 100644 index 0000000..ff420bc --- /dev/null +++ b/gremlin-tools/gremlin-io-test/src/test/resources/org/apache/tinkerpop/gremlin/structure/io/graphson/_3_3_2/year-v2d0-partial.json @@ -0,0 +1,4 @@ +{ + "@type" : "gx:Year", + "@value" : "2016" +} \ No newline at end of file