tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ok...@apache.org
Subject [13/29] tinkerpop git commit: added @spmallette updates.
Date Fri, 24 Mar 2017 19:41:14 GMT
added @spmallette updates.


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

Branch: refs/heads/TINKERPOP-1625
Commit: 28a05d74d1bee82264d302bf77198ed10165605f
Parents: a9c2f65
Author: Marko A. Rodriguez <okrammarko@gmail.com>
Authored: Thu Mar 16 10:53:49 2017 -0600
Committer: Marko A. Rodriguez <okrammarko@gmail.com>
Committed: Thu Mar 16 10:53:49 2017 -0600

----------------------------------------------------------------------
 docs/src/upgrade/release-3.2.x-incubating.asciidoc            | 7 +++++++
 .../org/apache/tinkerpop/gremlin/process/traversal/Path.java  | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/28a05d74/docs/src/upgrade/release-3.2.x-incubating.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
index a770ed8..7fe1d84 100644
--- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
+++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
@@ -32,6 +32,13 @@ Please see the link:https://github.com/apache/tinkerpop/blob/3.2.5/CHANGELOG.asc
 Upgrading for Users
 ~~~~~~~~~~~~~~~~~~~
 
+simplePath(), cyclicPath(), and path() support by()-, from()-, to()-modulation
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+It is now possible to extract analyze sub-paths using `from()` and `to()` modulations with
respective, path-based steps.
+Likewise, `simplePath()` and `cyclicPath()` now support, along with `from()` and `to()`,
`by()`-modulation so the cyclicity
+is determined by projections of the path data. This extension is fully backwards compatible.
+
 Gremlin-Python Driver
 ^^^^^^^^^^^^^^^^^^^^^
 Gremlin-Python now offers a more complete driver implementation that uses connection pooling
and

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/28a05d74/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/Path.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/Path.java
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/Path.java
index 3ad2613..91e0c05 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/Path.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/Path.java
@@ -252,7 +252,7 @@ public interface Path extends Cloneable, Iterable<Object> {
             return this;
         else {
             Path subPath = MutablePath.make();
-            int size = this.size();
+            final int size = this.size();
             boolean record = false;
             for (int i = 0; i < size; i++) {
                 final Set<String> labels = this.labels().get(i);


Mime
View raw message