tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ok...@apache.org
Subject [12/13] incubator-tinkerpop git commit: updated upgrade docs and CHANGELOG.
Date Thu, 12 May 2016 13:14:32 GMT
updated upgrade docs and CHANGELOG.


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

Branch: refs/heads/TINKERPOP-1281
Commit: aeebae5ba82339202c67e87d785c2eea8c479eaa
Parents: 1b914de
Author: Marko A. Rodriguez <okrammarko@gmail.com>
Authored: Thu May 12 06:44:46 2016 -0600
Committer: Marko A. Rodriguez <okrammarko@gmail.com>
Committed: Thu May 12 06:44:46 2016 -0600

----------------------------------------------------------------------
 CHANGELOG.asciidoc                                |  2 ++
 .../src/upgrade/release-3.2.x-incubating.asciidoc | 18 ++++++++++++++++++
 2 files changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/aeebae5b/CHANGELOG.asciidoc
----------------------------------------------------------------------
diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 5804ac5..31ae001 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -26,6 +26,8 @@ image::https://raw.githubusercontent.com/apache/incubator-tinkerpop/master/docs/
 TinkerPop 3.2.1 (NOT OFFICIALLY RELEASED YET)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+* `GraphFilter` helper methods are now more intelligent when determining edge direction/label
legality.
+* Added `GraphFilterStrategy` to automatically construct `GraphFilters` via traversal introspection
in OLAP.
 * Increased the testing and scope of `TraversalHelper.isLocalStarGraph()`.
 * Changed signature of `get_g_VXlistXv1_v2_v3XX_name` and `get_g_VXlistX1_2_3XX_name` of
`VertexTest` to take arguments for the `Traversal` to be constructed by extending classes.
 * Added `VertexProgramInterceptor` interface as a general pattern for `GraphComputer` providers
to use for bypassing `GraphComputer` semantics where appropriate.

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/aeebae5b/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 46a6ae8..04eb8f5 100644
--- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc
+++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc
@@ -135,6 +135,24 @@ in a future release along with the "JUnit Benchmarks" dependency.
 
 See: link:https://issues.apache.org/jira/browse/TINKERPOP-1294[TINKERPOP-1294]
 
+GraphFilter and GraphFilterStrategy
++++++++++++++++++++++++++++++++++++
+
+`GraphFilter` has been significantly advanced where the determination of an edge direction/label
legality is more stringent.
+Along with this, `GraphFilter.getLegallyPositiveEdgeLabels()` has been added as a helper
method to make it easier for `GraphComputer`
+providers to know the space of labels being accessed by the traversal and thus, better enable
provider-specific push-down predicates.
+
+Note that `GraphFilterStrategy` is now a default `TraversalStrategy` registered with `GraphComputer.`
If `GraphFilter` is
+expensive for the underlying `GraphComputer` implementation, it can be deactivated as is
done for `TinkerGraphComputer`.
+
+[source,java]
+----
+static {
+  TraversalStrategies.GlobalCache.registerStrategies(TinkerGraphComputer.class,
+    TraversalStrategies.GlobalCache.getStrategies(GraphComputer.class).clone().removeStrategies(GraphFilterStrategy.class));
+}
+----
+
 Graph Language Providers
 ^^^^^^^^^^^^^^^^^^^^^^^^
 


Mime
View raw message