GitHub user okram opened a pull request:
TINKERPOP-1293: Implement GraphFilterStrategy as a default registration for GraphComputer
`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...
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/incubator-tinkerpop
Alternatively you can review and apply these changes as the patch at:
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