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/05/12 21:53:59 UTC

[1/2] incubator-tinkerpop git commit: added another where() example.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master ae6114a08 -> a6707a2d3


added another where() example.


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

Branch: refs/heads/master
Commit: cc714a9155d3907f17123c3b1852e03bdc8c8208
Parents: ae6114a
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Tue May 12 13:45:36 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Tue May 12 13:45:44 2015 -0600

----------------------------------------------------------------------
 docs/src/the-traversal.asciidoc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/cc714a91/docs/src/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-traversal.asciidoc b/docs/src/the-traversal.asciidoc
index 87c061b..7772a17 100644
--- a/docs/src/the-traversal.asciidoc
+++ b/docs/src/the-traversal.asciidoc
@@ -1432,10 +1432,12 @@ The `where()`-step filters the current object based on either the object itself
 ----
 g.V(1).as('a').out('created').in('created').where(neq('a')) <1>
 g.withSideEffect('a'){['josh','peter']}.V(1).out('created').in('created').values('name').where(within('a')) <2>
+g.V(1).out('created').in('created').where(out('created').count().is(gt(1))).values('name') <3>
 ----
 
-<1> Who are marko's collaborators, where marko can not be his own collaborator?
-<2> Of the co-creators of marko, only keep those whose name is josh or peter.
+<1> Who are marko's collaborators, where marko can not be his own collaborator? (predicate)
+<2> Of the co-creators of marko, only keep those whose name is josh or peter. (using a sideEffect)
+<3> Which of marko's collaborators have worked on more than 1 project? (using a traversal)
 
 Please see <<using-where-with-match,`match().where()`>> and <<using-where-with-select,`select().where()`>> for how `where()` can be used in conjection with `Map<String,Object>` projecting steps.
 


[2/2] incubator-tinkerpop git commit: minor doc tweak.

Posted by ok...@apache.org.
minor doc tweak.


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

Branch: refs/heads/master
Commit: a6707a2d36bfdff164640d77fe8ce91ec01c874e
Parents: cc714a9
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Tue May 12 13:53:55 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Tue May 12 13:53:55 2015 -0600

----------------------------------------------------------------------
 docs/src/the-traversal.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/a6707a2d/docs/src/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-traversal.asciidoc b/docs/src/the-traversal.asciidoc
index 7772a17..f61934b 100644
--- a/docs/src/the-traversal.asciidoc
+++ b/docs/src/the-traversal.asciidoc
@@ -1439,7 +1439,7 @@ g.V(1).out('created').in('created').where(out('created').count().is(gt(1))).valu
 <2> Of the co-creators of marko, only keep those whose name is josh or peter. (using a sideEffect)
 <3> Which of marko's collaborators have worked on more than 1 project? (using a traversal)
 
-Please see <<using-where-with-match,`match().where()`>> and <<using-where-with-select,`select().where()`>> for how `where()` can be used in conjection with `Map<String,Object>` projecting steps.
+IMPORTANT: Please see <<using-where-with-match,`match().where()`>> and <<using-where-with-select,`select().where()`>> for how `where()` can be used in conjunction with `Map<String,Object>` projecting steps -- i.e. `Scope.local`.
 
 [[a-note-on-barrier-steps]]
 A Note on Barrier Steps