GitHub user okram opened a pull request: https://github.com/apache/incubator-tinkerpop/pull/310
TINKERPOP-1293: Implement GraphFilterStrategy as a default registration for GraphComputer https://issues.apache.org/jira/browse/TINKERPOP-1293 `GraphFilterStrategy` (traversal optimization strategy) will create a graph filter for the OLAP traversal if one has not already been provided. This is made possible by `GraphFilterStrategy` analyzing the traversal to determine which edge directions/labels are being accessed and generating a traversal that meets that criteria. Along with this, `GraphFilter` has been advanced more intelligence, more test cases, more JavaDoc, and more helper methods for `GraphComputer` providers. `GraphFilterStrategy` is a default `GraphComputer` strategy that is deactivated by `TinkerGraphComputer` as edge filters are expensive in `TinkerGraphComputer` given that the entire graph is already loaded into memory and any filtering requires labeled edges as being filtered (or not). `mvn clean install`, Spark integration tests passing, and Giraph integration tests passing thus far... VOTE +1. You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/incubator-tinkerpop TINKERPOP-1293 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-tinkerpop/pull/310.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #310 ---- ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---