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/06/12 22:56:51 UTC

[1/3] incubator-tinkerpop git commit: add additional has examples

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master be988ce82 -> 92e628b4e


add additional has examples


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

Branch: refs/heads/master
Commit: e6c73cd0a087252e1895b4921f2794eeecf2bf8e
Parents: 89d0ac5
Author: David Robinson <dr...@gmail.com>
Authored: Fri Jun 12 13:22:31 2015 -0400
Committer: David Robinson <dr...@gmail.com>
Committed: Fri Jun 12 13:22:31 2015 -0400

----------------------------------------------------------------------
 docs/src/the-traversal.asciidoc | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/e6c73cd0/docs/src/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-traversal.asciidoc b/docs/src/the-traversal.asciidoc
index 7f5793d..d204781 100644
--- a/docs/src/the-traversal.asciidoc
+++ b/docs/src/the-traversal.asciidoc
@@ -594,10 +594,17 @@ g.V().hasLabel('person').out().has('name',within('vadas','josh')).
       outE().hasLabel('created')
 g.V().has('age',inside(20,30)).values('age') <1>
 g.V().has('age',outside(20,30)).values('age') <2>
+g.V().has('name',within(['josh','marko'])).valueMap() <3>
+g.V().has('name',without(['josh','marko'])).valueMap() <4>
 ----
 
 <1> Find all vertices whose ages are between 20 (inclusive) and 30 (exclusive).
 <2> Find all vertices whose ages are not between 20 (inclusive) and 30 (exclusive).
+<3> Find all vertices whose names are exact matches to any names in the the collection [josh,marko], display all the key,value pairs for those verticies.
+<4> Find all vertices whose names are not in the collection [josh,marko], display all the key,value pairs for those vertices.
+
+TinkerPop does not support a regular expression predicate, although specific graph databases that leverage TinkerPop may
+provide a partial match extension.
 
 [[inject-step]]
 Inject Step


[3/3] incubator-tinkerpop git commit: fixed a within() 'bug' -- don't need to make a list as you can provide a var args.

Posted by ok...@apache.org.
fixed a within() 'bug' -- don't need to make a list as you can provide a var args.


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

Branch: refs/heads/master
Commit: 92e628b4ea7e18e291170d17434b79a86ae51035
Parents: 5980a03
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Fri Jun 12 14:56:44 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Fri Jun 12 14:56:44 2015 -0600

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


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/92e628b4/docs/src/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-traversal.asciidoc b/docs/src/the-traversal.asciidoc
index d204781..42bab80 100644
--- a/docs/src/the-traversal.asciidoc
+++ b/docs/src/the-traversal.asciidoc
@@ -594,14 +594,16 @@ g.V().hasLabel('person').out().has('name',within('vadas','josh')).
       outE().hasLabel('created')
 g.V().has('age',inside(20,30)).values('age') <1>
 g.V().has('age',outside(20,30)).values('age') <2>
-g.V().has('name',within(['josh','marko'])).valueMap() <3>
-g.V().has('name',without(['josh','marko'])).valueMap() <4>
+g.V().has('name',within('josh','marko')).valueMap() <3>
+g.V().has('name',without('josh','marko')).valueMap() <4>
+g.V().has('name',not(within('josh','marko'))).valueMap() <5>
 ----
 
 <1> Find all vertices whose ages are between 20 (inclusive) and 30 (exclusive).
 <2> Find all vertices whose ages are not between 20 (inclusive) and 30 (exclusive).
-<3> Find all vertices whose names are exact matches to any names in the the collection [josh,marko], display all the key,value pairs for those verticies.
-<4> Find all vertices whose names are not in the collection [josh,marko], display all the key,value pairs for those vertices.
+<3> Find all vertices whose names are exact matches to any names in the the collection `[josh,marko]`, display all the key,value pairs for those verticies.
+<4> Find all vertices whose names are not in the collection `[josh,marko]`, display all the key,value pairs for those vertices.
+<5> Same as the prior example save using `not` on `within` to yield `without`.
 
 TinkerPop does not support a regular expression predicate, although specific graph databases that leverage TinkerPop may
 provide a partial match extension.


[2/3] incubator-tinkerpop git commit: Merge branch 'docupdate1' of https://github.com/graben1437/incubator-tinkerpop

Posted by ok...@apache.org.
Merge branch 'docupdate1' of https://github.com/graben1437/incubator-tinkerpop


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

Branch: refs/heads/master
Commit: 5980a03ab859ec3da20c410ec7547f664ef5e412
Parents: be988ce e6c73cd
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Fri Jun 12 14:54:55 2015 -0600
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Fri Jun 12 14:54:55 2015 -0600

----------------------------------------------------------------------
 docs/src/the-traversal.asciidoc | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------