GitHub user dkuppitz opened a pull request:
https://github.com/apache/tinkerpop/pull/529
TINKERPOP-1549 Implement skip()
https://issues.apache.org/jira/browse/TINKERPOP-1549
Added `skip(long)` and `skip((Scope,long)` which call the `range(low,high)`
equivalents with -1 as the high.
Also added test cases and fixed the OLAP implementation (which probably
never worked before).
Note, that I implemented `equals()` for `RangeGlobalStep`, because hash
code collisions are very likely. For the same reason I also removed the hash
code inequality check from `StepTest`.
VOTE: +1
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/tinkerpop TINKERPOP-1549
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/529.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 #529
----
commit 3d0aa6e37e1ff40481cc8cde7e01862d66220c00
Author: Daniel Kuppitz <[email protected]>
Date: 2017-01-10T09:48:27Z
Added `skip(long)` and `skip((Scope,long)` which call the `range(low,high)`
equivalents with -1 as the high.
Also added test cases and fixed the OLAP implementation (which probably
never worked before).
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---