public withWindow(offset as Long, limit as Long) as QueryPlanBase
Returns an immutable plan restricted to a relative result window.
| Parameter | Description |
|---|---|
offset | Number of rows skipped from this plan's result. |
limit | Maximum rows, or -1 for no additional limit. |
New immutable plan.
pagePlan = plan.withWindow(20, 10)