tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ok...@apache.org
Subject incubator-tinkerpop git commit: minor tweak to Hadoop docs. Built and published the docs to 3.2.0-SNAPSHOT. Fixed a minor bug where select(column) was compiling to a LambdaMapStep. CTR.
Date Tue, 01 Mar 2016 18:49:19 GMT
Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master 980c950c6 -> 7bf7159e5


minor tweak to Hadoop docs. Built and published the docs to 3.2.0-SNAPSHOT. Fixed a minor
bug where select(column) was compiling to a LambdaMapStep. 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/7bf7159e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/7bf7159e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/7bf7159e

Branch: refs/heads/master
Commit: 7bf7159e5d816b565b2ecd2ed55944b5921c56ab
Parents: 980c950
Author: Marko A. Rodriguez <okrammarko@gmail.com>
Authored: Tue Mar 1 11:49:15 2016 -0700
Committer: Marko A. Rodriguez <okrammarko@gmail.com>
Committed: Tue Mar 1 11:49:15 2016 -0700

----------------------------------------------------------------------
 docs/src/reference/implementations-hadoop.asciidoc                | 2 --
 .../gremlin/process/traversal/dsl/graph/GraphTraversal.java       | 3 ++-
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/7bf7159e/docs/src/reference/implementations-hadoop.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/reference/implementations-hadoop.asciidoc b/docs/src/reference/implementations-hadoop.asciidoc
index 6999616..3ea2ebf 100644
--- a/docs/src/reference/implementations-hadoop.asciidoc
+++ b/docs/src/reference/implementations-hadoop.asciidoc
@@ -488,8 +488,6 @@ g = graph.traversal().withComputer(GiraphGraphComputer)
 :> g.V().group().by{it.value('name')[1]}.by('name')
 result
 result.memory.runtime
-result.memory.keys()
-result.memory.get('~reducing')
 ----
 
 NOTE: If the user explicitly specifies `giraph.maxWorkers` and/or `giraph.numComputeThreads`
in the configuration,

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/7bf7159e/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java
index 69c84ad..006b24f 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java
@@ -28,6 +28,7 @@ import org.apache.tinkerpop.gremlin.process.traversal.Scope;
 import org.apache.tinkerpop.gremlin.process.traversal.Step;
 import org.apache.tinkerpop.gremlin.process.traversal.Traversal;
 import org.apache.tinkerpop.gremlin.process.traversal.Traverser;
+import org.apache.tinkerpop.gremlin.process.traversal.lambda.ColumnTraversal;
 import org.apache.tinkerpop.gremlin.process.traversal.lambda.FunctionTraverser;
 import org.apache.tinkerpop.gremlin.process.traversal.lambda.LoopTraversal;
 import org.apache.tinkerpop.gremlin.process.traversal.lambda.PredicateTraverser;
@@ -467,7 +468,7 @@ public interface GraphTraversal<S, E> extends Traversal<S, E>
{
     }
 
     public default <E2> GraphTraversal<S, Collection<E2>> select(final
Column column) {
-        return this.map(new FunctionTraverser<>((Function) column));
+        return this.map(new ColumnTraversal(column));
     }
 
     /**


Mime
View raw message