semantique.processor.core.Cache

semantique.processor.core.Cache#

class semantique.processor.core.Cache[source]#

Cache of retrieved data layers.

The cache takes care of tracking the data references in their order of evaluation and retaining data layers in RAM if they are still needed for the further execution of the semantic query.

__init__()[source]#

Methods

__init__()

build(ref)

Build of the sequence of data references.

load(key)

Load data layer from cache.

update(key, data)

Modify cache content during evaluation.

Attributes

data

Data stored in the cache.

seq

Sequence of references.