Liking cljdoc? Tell your friends :D

metabase.query-processor.middleware.cache-backend.interface

Interface used to define different Query Processor cache backends. Defining a backend is straightforward: define a new namespace with the pattern

metabase.query-processor.middleware.cache-backend.<backend>

Where backend is a key representing the backend, e.g. db, redis, or memcached.

In that namespace, create an object that reifies (or otherwise implements) IQueryProcessorCacheBackend. This object must be stored in a var called instance.

That's it. See metabase.query-processor.middleware.cache-backend.db for a complete example of how this is done.

Interface used to define different Query Processor cache backends.
Defining a backend is straightforward: define a new namespace with the pattern

  metabase.query-processor.middleware.cache-backend.<backend>

Where backend is a key representing the backend, e.g. `db`, `redis`, or `memcached`.

In that namespace, create an object that reifies (or otherwise implements) `IQueryProcessorCacheBackend`.
This object *must* be stored in a var called `instance`.

That's it. See `metabase.query-processor.middleware.cache-backend.db` for a complete example of how this is done.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close