klyn.data.internal.QueryPlanBase.withWindow
method

    public withWindow(offset as Long, limit as Long) as QueryPlanBase

Description

Returns an immutable plan restricted to a relative result window.

Parameters

Parameter | Description
--- | ---
`offset` | Number of rows skipped from this plan's result.
`limit` | Maximum rows, or `-1` for no additional limit.

Returns

New immutable plan.

Example

    pagePlan = plan.withWindow(20, 10)