MemoryQueryExecution
class in package klyn.data.memory

    public class MemoryQueryExecution<T, R> implements QueryExecution<R>:

MemoryQueryExecution
All Implemented Interfaces: QueryExecution

Independent execution of one canonical plan over an immutable memory snapshot.

Example

    execution = MemoryQueryExecution<Int, Int>([1, 2], plan)

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | MemoryQueryExecution `MemoryQueryExecution(source as IList<T>, plan as QueryPlan<T, R>):` | Creates an execution over a snapshot of source references.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | execute `execute() as List<R>:` | Evaluates the plan against the captured memory snapshot.

Inherited Methods
method Inherited Methods from QueryExecution: execute