You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2015/05/27 10:07:22 UTC
[1/2] incubator-tinkerpop git commit: replaced numbers written in
Long-notation (e.g. '1L') with standard numbers (e.g. '1')
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master 3b48b8412 -> 057503e69
replaced numbers written in Long-notation (e.g. '1L') with standard numbers (e.g. '1')
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/4548c870
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/4548c870
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/4548c870
Branch: refs/heads/master
Commit: 4548c8707cdf3da53d7cf892660e881eafb67cd6
Parents: 3ab6dbf
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Wed May 27 01:07:04 2015 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Wed May 27 01:07:04 2015 +0200
----------------------------------------------------------------------
docs/src/gremlin-applications.asciidoc | 4 ++--
docs/src/the-traversal.asciidoc | 12 ++++++------
2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/4548c870/docs/src/gremlin-applications.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/gremlin-applications.asciidoc b/docs/src/gremlin-applications.asciidoc
index 83b8b9d..4d4b377 100644
--- a/docs/src/gremlin-applications.asciidoc
+++ b/docs/src/gremlin-applications.asciidoc
@@ -1035,11 +1035,11 @@ Comparators
Unfortunately, Groovy does not support comparator overloading -- `>`, `<=`, `==`, etc. However, the `Compare` enums are available as methods in `SugarGremlinPlugin`.
[source,groovy]
-gremlin> g.V.has(outE('created').count.gt(1l) | __.age.lt(30)).name ////<1>
+gremlin> g.V.has(outE('created').count.gt(1) | __.age.lt(30)).name ////<1>
==>marko
==>vadas
==>josh
-gremlin> t = g.V.has(outE('created').count.gt(1l) | __.age.lt(30) & outE('knows')).name; null ////<2>
+gremlin> t = g.V.has(outE('created').count.gt(1) | __.age.lt(30) & outE('knows')).name; null ////<2>
==>null
gremlin> t.toString()
==>[GraphStep(vertex), HasTraversalStep([VertexStep(OUT,[created],edge), CountStep, IsStep(gt,1), OrMarker, PropertiesStep([age],value), IsStep(lt,30), AndMarker, VertexStep(OUT,[knows],edge)]), PropertiesStep([name],value)]
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/4548c870/docs/src/the-traversal.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-traversal.asciidoc b/docs/src/the-traversal.asciidoc
index da9db98..d81a364 100644
--- a/docs/src/the-traversal.asciidoc
+++ b/docs/src/the-traversal.asciidoc
@@ -590,8 +590,8 @@ It is possible to filter scalar values using `is()`-step (*filter*).
g.V().values('age').is(32)
g.V().values('age').is(lte(30))
g.V().values('age').is(inside(30, 40))
-g.V().where(__.in('created').count().is(1l)).values('name') <1>
-g.V().where(__.in('created').count().is(gte(2l))).values('name') <2>
+g.V().where(__.in('created').count().is(1)).values('name') <1>
+g.V().where(__.in('created').count().is(gte(2))).values('name') <2>
g.V().where(__.in('created').values('age').
mean().is(inside(30d, 35d))).values('name') <3>
----
@@ -828,7 +828,7 @@ The `or()`-step ensures that at least one of the provided traversals yield a res
----
g.V().or(
__.outE('created'),
- __.inE('created').count().is(gt(1l))).
+ __.inE('created').count().is(gt(1))).
values('name')
----
@@ -1049,7 +1049,7 @@ Finally, note that both `emit()` and `until()` can take a traversal and in such,
----
g.V(1).repeat(out()).until(hasLabel('software')).path().by('name') <1>
g.V(1).emit(hasLabel('person')).repeat(out()).path().by('name') <2>
-g.V(1).repeat(out()).until(outE().count().is(0L)).path().by('name') <3>
+g.V(1).repeat(out()).until(outE().count().is(0)).path().by('name') <3>
----
<1> Starting from vertex 1, keep taking outgoing edges until a software vertex is reached.
@@ -1387,7 +1387,7 @@ Note that `unfold()` does not recursively unroll iterators. Instead, `repeat()`
----
inject(1,[2,3,[4,5,[6]]])
inject(1,[2,3,[4,5,[6]]]).unfold()
-inject(1,[2,3,[4,5,[6]]]).repeat(unfold()).until(count(local).is(1l)).unfold()
+inject(1,[2,3,[4,5,[6]]]).repeat(unfold()).until(count(local).is(1)).unfold()
----
[[union-step]]
@@ -1505,7 +1505,7 @@ A few more examples of filtering an arbitrary object based on a anonymous traver
----
g.V().where(out('created')).values('name') <1>
g.V().out('knows').where(out('created')).values('name') <2>
-g.V().where(out('created').count().is(gte(2L))).values('name') <3>
+g.V().where(out('created').count().is(gte(2))).values('name') <3>
g.V().where(out('knows').where(out('created'))).values('name') <4>
g.V().where(not(out('created'))).where(__.in('knows')).values('name') <5>
----
[2/2] incubator-tinkerpop git commit: Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/incubator-tinkerpop
Posted by dk...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/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/057503e6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/057503e6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/057503e6
Branch: refs/heads/master
Commit: 057503e69dbd2dbef53cf534516ed2db97e2c98c
Parents: 4548c87 3b48b84
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Wed May 27 10:07:00 2015 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Wed May 27 10:07:00 2015 +0200
----------------------------------------------------------------------
CHANGELOG.asciidoc | 5 +++--
.../hadoop/process/computer/spark/SparkExecutor.java | 10 +++++-----
2 files changed, 8 insertions(+), 7 deletions(-)
----------------------------------------------------------------------