QueryEvaluator
classin packageklyn.data.internal
public class QueryEvaluator<T, R>:
QueryEvaluator

Optimized canonical evaluator shared by in-memory query executions.

The evaluator works directly on specialized generic rows. Values are boxed only for heterogeneous ordering keys and structural distinctness.

rows = QueryEvaluator.evaluate(sourceRows, plan)
Methods
Modifier and Type Member Description
public static count
count(source as IList<T>, plan as QueryPlan<T, R>) as Long:
Counts a non-distinct plan without projecting, sorting, or materializing.
public static evaluate
evaluate(source as IList<T>, plan as QueryPlan<T, R>) as List<R>:
Executes filtering, stable ordering, projection, distinctness and paging.
public static exists
exists(source as IList<T>, plan as QueryPlan<T, R>) as Boolean:
Tests a non-distinct plan with early termination and no allocation.