You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/04/28 00:32:03 UTC

[09/10] incubator-tinkerpop git commit: Modified the GraphSON format.

Modified the GraphSON format.

Graph is now handled as Gryo is - via StarGraph and adjacency list.  Major refactoring around existing serialization for detached - greatly reduced object creation.  Lots of code cleanup and todos to handle yet, but the core of this seems to be working well.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/79e186c4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/79e186c4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/79e186c4

Branch: refs/heads/master
Commit: 79e186c42b0951f225851071da38697b55da4291
Parents: 8843c7b
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Mon Apr 27 18:29:50 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Mon Apr 27 18:29:50 2015 -0400

----------------------------------------------------------------------
 data/grateful-dead-vertices.kryo                |  Bin 335733 -> 332385 bytes
 data/grateful-dead-vertices.ldjson              | 1616 +++++++++---------
 data/grateful-dead.json                         |  809 ++++++++-
 data/tinkerpop-classic-normalized.json          |    7 +-
 data/tinkerpop-classic-typed.json               |    7 +-
 data/tinkerpop-classic-vertices.ldjson          |   12 +-
 data/tinkerpop-classic.json                     |    7 +-
 data/tinkerpop-crew-typed.json                  |    7 +-
 data/tinkerpop-crew-vertices.ldjson             |   12 +-
 data/tinkerpop-crew.json                        |    7 +-
 data/tinkerpop-modern-normalized.json           |    7 +-
 data/tinkerpop-modern-typed.json                |    7 +-
 data/tinkerpop-modern-vertices.ldjson           |   12 +-
 data/tinkerpop-modern.json                      |    7 +-
 .../structure/io/graphson/GraphSONModule.java   |  222 ++-
 .../structure/io/graphson/GraphSONReader.java   |  177 +-
 .../io/graphson/GraphSONVertexProperty.java     |   93 -
 .../structure/io/graphson/GraphSONWriter.java   |   10 +-
 .../gremlin/structure/util/star/StarGraph.java  |    4 +-
 .../util/star/StarGraphJacksonSerializer.java   |  180 ++
 .../JsonMessageSerializerGremlinV1d0Test.java   |    2 +
 .../ser/JsonMessageSerializerV1d0Test.java      |   10 +-
 .../tinkerpop/gremlin/structure/IoTest.java     |   15 +-
 .../gremlin/structure/SerializationTest.java    |    8 +-
 .../io/graphson/grateful-dead-vertices.ldjson   | 1616 +++++++++---------
 .../structure/io/graphson/grateful-dead.json    |  809 ++++++++-
 .../graphson/tinkerpop-classic-normalized.json  |    7 +-
 .../io/graphson/tinkerpop-classic-typed.json    |    7 +-
 .../graphson/tinkerpop-classic-vertices.ldjson  |   12 +-
 .../io/graphson/tinkerpop-classic.json          |    7 +-
 .../io/graphson/tinkerpop-crew-typed.json       |    7 +-
 .../io/graphson/tinkerpop-crew-vertices.ldjson  |   12 +-
 .../structure/io/graphson/tinkerpop-crew.json   |    7 +-
 .../graphson/tinkerpop-modern-normalized.json   |    7 +-
 .../io/graphson/tinkerpop-modern-typed.json     |    7 +-
 .../graphson/tinkerpop-modern-vertices.ldjson   |   12 +-
 .../structure/io/graphson/tinkerpop-modern.json |    7 +-
 .../io/gryo/grateful-dead-vertices.kryo         |  Bin 335733 -> 332385 bytes
 .../GraphSONRecordReaderWriterTest.java         |    2 +-
 39 files changed, 3794 insertions(+), 1963 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/79e186c4/data/grateful-dead-vertices.kryo
----------------------------------------------------------------------
diff --git a/data/grateful-dead-vertices.kryo b/data/grateful-dead-vertices.kryo
index 22dbdad..105f6f5 100644
Binary files a/data/grateful-dead-vertices.kryo and b/data/grateful-dead-vertices.kryo differ