GitHub user okram opened a pull request:

    https://github.com/apache/tinkerpop/pull/755

    TINKERPOP-1834: Consider iterate() as a first class step

    https://issues.apache.org/jira/browse/TINKERPOP-1834
    
    This is a re-issuing of a previously closed commit. In this model, a 
`NoneStep` was added as well as a `Traversal.none()`. `Traversal.iterate()` 
calls `Traversal.none()` if the traversal has not been fully compiled. The 
benefit of this is that `iterate()` will add a full filter and thus, for remote 
systems (non-embedded), all data is "iterated" server-side before being sent 
back to the client. This is a novel play in that `iterate()`, while being a 
terminal step, is now effecting the bytecode representation.
    
    cc/ @BrynCooke 
    
    VOTE +1

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-1834

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/755.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 #755
    
----
commit 2a957bb586263b2dd70b4db36d1b3c6f87d5596f
Author: Marko A. Rodriguez <okramma...@gmail.com>
Date:   2017-11-21T11:44:32Z

    Added NoneStep which simply filter(false). Traversal.none() was added which 
appends the NoneStep. Traversal.iterate() was updated such that if the 
traversal has not been compiled yet, then Traversal.none() is called to ensure 
that a full filter is propagated in the bytecode.

----


---

Reply via email to