@oxia-db/client - v0.1.0
    Preparing search index...

    Variable ComparisonTypeConst

    ComparisonType: {
        EQUAL: EQUAL;
        FLOOR: FLOOR;
        CEILING: CEILING;
        LOWER: LOWER;
        HIGHER: HIGHER;
    } = ...

    Key comparison mode for OxiaClient.get.

    EQUAL is the default and does an exact-match lookup. The other four modes treat the provided key as a probe into the sorted key space and return the nearest record in the direction specified:

    • FLOOR — the highest key <= the probe
    • CEILING — the lowest key >= the probe
    • LOWER — the highest key strictly < the probe
    • HIGHER — the lowest key strictly > the probe

    Mirrors the server-side proto enum KeyComparisonType.

    Type Declaration

    • ReadonlyEQUAL: EQUAL

      Exact match.

    • ReadonlyFLOOR: FLOOR

      Highest key <= the supplied key.

    • ReadonlyCEILING: CEILING

      Lowest key >= the supplied key.

    • ReadonlyLOWER: LOWER

      Highest key strictly < the supplied key.

    • ReadonlyHIGHER: HIGHER

      Lowest key strictly > the supplied key.