GitHub user spmallette opened a pull request:

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

    TINKERPOP-1589 Re-introduced CloseableIterator

    https://issues.apache.org/jira/browse/TINKERPOP-1589
    
    Made it so that the `CloseableIterator` is closed by `GraphStep` if it is 
provided by the iterator supplier. Furthermore, any steps in a `Traversal` 
implement `AutoCloseable` then its `close()` method will be called. In this way 
`Traversal.close()`, the common API a user will work with, has a way to release 
resources in `Graph` implementations that require it.
    
    Builds with `docker/build.sh -t - i -n`.

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

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

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

    https://github.com/apache/tinkerpop/pull/521.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 #521
    
----
commit 3597dc5f06407a8b1ada0e49a52b36b2f31b8a34
Author: Stephen Mallette <sp...@genoprime.com>
Date:   2017-01-04T21:14:23Z

    TINKERPOP-1589 Re-introduced CloseableIterator
    
    Made it so that the CloseableIterator is closed by GraphStep if it is 
provided by the iterator supplier. Furthermore, any steps in a Traversal 
implement AutoCloseable then its close() method will be called.

----


---
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.
---

Reply via email to