You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/05/15 18:02:49 UTC
incubator-tinkerpop git commit: Add javadoc to SubgraphStrategy.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master 42ced9525 -> eb3e2c757
Add javadoc to SubgraphStrategy.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/eb3e2c75
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/eb3e2c75
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/eb3e2c75
Branch: refs/heads/master
Commit: eb3e2c757b3db70c1f6b2d31d370e7af1a3de6b6
Parents: 42ced95
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Fri May 15 12:02:38 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Fri May 15 12:02:38 2015 -0400
----------------------------------------------------------------------
.../process/traversal/strategy/decoration/SubgraphStrategy.java | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/eb3e2c75/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
index b65eaa6..f5a360a 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
@@ -46,6 +46,11 @@ import java.util.function.Predicate;
import java.util.stream.Collectors;
/**
+ * This {@link TraversalStrategy} provides a way to limit the view of a {@link Traversal}. By providing
+ * {@link Traversal} representations that represent a form of filtering "predicate" for vertices and/or edges,
+ * this strategy will inject that "predicate" into the appropriate places of a traversal thus restricting what
+ * it traverses and returns.
+ *
* @author Stephen Mallette (http://stephen.genoprime.com)
*/
public final class SubgraphStrategy extends AbstractTraversalStrategy<TraversalStrategy.DecorationStrategy>