columna API reference - v0.3.0
    Preparing search index...

    Class PersistCache

    An LRU of materialized plan results keyed by the optimized plan's structural hash. One instance is the process default (what persist() on the default runtime uses); new Runtime({ persist: new PersistCache() }) gives a tenant / request / test its own — nothing it caches is visible to any other runtime, and clear() drops exactly its entries.

    Index
    • Returns void

    • Parameters

      Returns boolean

    • Parameters

      Returns PersistLookup

    • Mark a plan: the next execution stores its table.

      Parameters

      Returns void

    • Store when the plan was marked (or is already cached).

      Parameters

      Returns void

    • Returns { bytes: number; entries: number }

    • Parameters

      Returns void

    • Parameters

      Returns void