| layout | api-command | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| language | Java | ||||||||
| permalink | api/java/skip/ | ||||||||
| command | skip | ||||||||
| related_commands |
|
Command syntax
{% apibody %} sequence.skip(n) → stream array.skip(n) → array {% endapibody %}
Description
Skip a number of elements from the head of the sequence.
Example: Here in conjunction with orderBy we choose to ignore the most successful heroes.
r.table("marvel").orderBy("successMetric").skip(10).run(conn);