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 2015/03/23 17:45:18 UTC
incubator-tinkerpop git commit: fixed a compile bug in the docs.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master 03cbccb2b -> be0341fa3
fixed a compile bug in the docs.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/be0341fa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/be0341fa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/be0341fa
Branch: refs/heads/master
Commit: be0341fa3a12d0b1b6e8afecc122aa03caed6e5b
Parents: 03cbccb
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Mon Mar 23 10:45:15 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Mon Mar 23 10:45:15 2015 -0600
----------------------------------------------------------------------
docs/src/the-traversal.asciidoc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/be0341fa/docs/src/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-traversal.asciidoc b/docs/src/the-traversal.asciidoc
index 86aa0bd..8900893 100644
--- a/docs/src/the-traversal.asciidoc
+++ b/docs/src/the-traversal.asciidoc
@@ -1462,7 +1462,7 @@ image:lambda.png[width=150,float=right] A link:http://en.wikipedia.org/wiki/Anon
[gremlin-groovy,modern]
----
g.V().filter{it.get().value('name') == 'marko'}.
- flatMap{it.get().vertices('created')}.
+ flatMap{it.get().vertices(OUT,'created')}.
map {it.get().value('name')} <1>
g.V().has('name','marko').out('created').values('name') <2>
----
@@ -1647,8 +1647,8 @@ image:gremlin-quill.png[width=200,float=right] The super interface of GraphTrave
//
//[gremlin-groovy,modern]
//----
-////import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory.SocialTraversal
-////g.of(SocialTraversal).people("marko").knows().name()
+//import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory.SocialTraversal
+//g.of(SocialTraversal).people("marko").knows().name()
//----
//
//By extending `Traversal`, users can create a DSL that is respective of the semantics of their data. Instead of querying in terms of vertices/edges/properties, they can query in terms of, for example, people, their friends, and their names.