GraphSONRecordReader/Writer can now be configured to use either GraphSON V2 or V3. Added a test case to verfify proper behavior of parser from GraphSON V3 on HDFS.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/da195a1b Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/da195a1b Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/da195a1b Branch: refs/heads/TINKERPOP-1427 Commit: da195a1be9eb9bbd4d45a0a88104e1d9cce4cf68 Parents: 010b434 Author: Marko A. Rodriguez <[email protected]> Authored: Mon Jul 10 13:42:44 2017 -0600 Committer: Stephen Mallette <[email protected]> Committed: Thu Jul 13 13:01:35 2017 -0400 ---------------------------------------------------------------------- .../io/graphson/grateful-dead-v3d0-typed.json | 808 +++++++++++++++++++ .../tinkerpop/gremlin/hadoop/Constants.java | 1 + .../io/graphson/GraphSONRecordReader.java | 2 +- .../io/graphson/GraphSONRecordWriter.java | 2 +- .../gremlin/hadoop/HadoopGraphProvider.java | 1 + .../structure/io/RecordReaderWriterTest.java | 4 + .../GraphSONRecordReaderWriterTest.java | 48 -- .../GraphSONV2d0RecordReaderWriterTest.java | 54 ++ .../GraphSONV3d0RecordReaderWriterTest.java | 53 ++ 9 files changed, 923 insertions(+), 50 deletions(-) ----------------------------------------------------------------------
