klyn.data.internal.QueryEvaluator.evaluate
method

    public static evaluate(source as IList<T>, plan as QueryPlan<T, R>) as List<R>:

Description

Executes filtering, stable ordering, projection, distinctness and paging.

Parameters

Parameter | Description
--- | ---
`source` | Current source rows.
`plan` | Immutable canonical plan.

Returns

Newly allocated result list.

Example

    results = QueryEvaluator.evaluate<Int, Int>([3, 1, 2], plan)