Liking cljdoc? Tell your friends :D

datahike.index.interface

All the functions in this namespace must be implemented for each index type

All the functions in this namespace must be implemented for each index type

add-konserve-handlersmultimethod

Adds read and write handlers for the index data types.

Adds read and write handlers for the index data types.
raw docstring

default-index-configmultimethod

Returns the default index configuration.

Returns the default index configuration.
raw docstring

empty-indexmultimethod

Creates an empty index

Creates an empty index
raw docstring

IIndexprotocol

-remove

(-remove index datom index-type op-count)

Removes a datom from the index

Removes a datom from the index

-count

(-count index)

Returns the number of datoms in the index

Returns the number of datoms in the index

-slice

(-slice index from to index-type)

Returns a slice of the index

Returns a slice of the index

-transient

(-transient index)

Returns a transient version of the index

Returns a transient version of the index

-persistent!

(-persistent! index)

Returns a persistent version of the index

Returns a persistent version of the index

-temporal-upsert

(-temporal-upsert index datom index-type op-count old-datom)

Inserts or updates a datom in a history index

Inserts or updates a datom in a history index

-temporal-insert

(-temporal-insert index datom index-type op-count)

Inserts a datom in a history index

Inserts a datom in a history index

-all

(-all index)

Returns a sequence of all datoms in the index

Returns a sequence of all datoms in the index

-insert

(-insert index datom index-type op-count)

Inserts a datom into the index

Inserts a datom into the index

-upsert

(-upsert index datom index-type op-count old-datom)

Inserts or updates a datom into the index

Inserts or updates a datom into the index

-mark

(-mark index)

Return konserve addresses that should be whitelisted for mark and sweep gc.

Return konserve addresses that should be whitelisted for mark and sweep gc.

-flush

(-flush index backend)

Saves the changes to the index to the given konserve backend

Saves the changes to the index to the given konserve backend

-seq

(-seq index)

Returns a sequence of all datoms in the index

Returns a sequence of all datoms in the index

init-indexmultimethod

Creates an index with datoms

Creates an index with datoms
raw docstring

konserve-backendmultimethod

Returns a konserve store capable of handling the index. Used for flushing.

Returns a konserve store capable of handling the index. Used for flushing.
raw docstring

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

× close