You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2016/01/13 21:16:31 UTC

incubator-tinkerpop git commit: added an upgrade note about InputRDD.readMemoryRDD() and OutputRDD.writeMemoryRDD(). CTR.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master ea4f4a2d5 -> d2dd5a338


added an upgrade note about InputRDD.readMemoryRDD() and OutputRDD.writeMemoryRDD(). CTR.


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

Branch: refs/heads/master
Commit: d2dd5a33820ffc3e0a315634ee8af6112066e2c7
Parents: ea4f4a2
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Wed Jan 13 13:16:18 2016 -0700
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Wed Jan 13 13:16:28 2016 -0700

----------------------------------------------------------------------
 .../upgrade/release-3.1.x-incubating.asciidoc   | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/d2dd5a33/docs/src/upgrade/release-3.1.x-incubating.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/upgrade/release-3.1.x-incubating.asciidoc b/docs/src/upgrade/release-3.1.x-incubating.asciidoc
index 4841c86..f591a5d 100644
--- a/docs/src/upgrade/release-3.1.x-incubating.asciidoc
+++ b/docs/src/upgrade/release-3.1.x-incubating.asciidoc
@@ -90,8 +90,8 @@ release.
 See: link:https://issues.apache.org/jira/browse/TINKERPOP-981[TINKERPOP-981],
 link:http://tinkerpop.apache.org/docs/3.1.1-incubating/#_security[Reference Documentation - Gremlin Server Security]
 
-TinkerGraph Supports Any IO
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
+TinkerGraph Supports Any I/O
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 TinkerGraph's 'gremlin.tinkergraph.graphLocation' configuration setting can now take a fully qualified class name
 of a `Io.Builder` implementation, which means that custom IO implementations can be used to read and write
@@ -206,6 +206,22 @@ not support meta-properties, so providers should be wary of potential test failu
 
 See: link:https://issues.apache.org/jira/browse/TINKERPOP-985[TINKERPOP-985]
 
+Graph Processor Providers
+^^^^^^^^^^^^^^^^^^^^^^^^^
+
+InputRDD and OutputRDD Updates
+++++++++++++++++++++++++++++++
+
+There are two new methods on the Spark-Gremlin RDD interfaces.
+
+* `InputRDD.readMemoryRDD()`: get a `ComputerResult.memory()` from an RDD.
+* `OutputRDD.writeMemoryRDD()`: write a `ComputerResult.memory()` to an RDD.
+
+Note that both these methods have default implementations which simply work with empty RDDs. Most providers will never
+need to implement these methods as they are specific to file/RDD management for `GraphComputer`. The four classes that
+implement these methods are `PersistedOutputRDD`, `PersistedInputRDD`, `InputFormatRDD`, and `OutputFormatRDD`. For the
+interested provider, study the implementations therein to see the purpose of these two new methods.
+
 TinkerPop 3.1.0
 ---------------