QueryRuntime
class in package klyn.data.internal

    public class QueryRuntime:

QueryRuntime

Minimal native primitives required by provider-neutral KQL execution.

Dynamic scalar comparison cannot be expressed safely in statically typed Klyn without either reflection per comparison or one runtime dispatch. The hot ordering loop therefore uses this narrow native boundary.

    assert QueryRuntime.compareValues(10, 20) < 0

Methods

Modifier and Type | Member | Description
--- | --- | ---
public native static | compareOrderedValues `compareOrderedValues( left as Object, right as Object, descending as Boolean, nullPlacement as Int ) as Int` | Compares two canonical scalar values using one complete ordering item.
public native static | compareValues `compareValues(left as Object, right as Object) as Int` | Compares two boxed canonical scalar values.
public native static | valuesEqual `valuesEqual(left as Object, right as Object) as Boolean` | Applies Klyn structural equality to two projected values.