Liking cljdoc? Tell your friends :D
Clojure only.

mirabelle.index


channelclj

(channel stream-name)

Build the index channel name for ws subscriptions for a given stream.

Build the index channel name for ws subscriptions for a given stream.
sourceraw docstring

IIndexcljprotocol

clear-indexclj

(clear-index this)

Resets the index

Resets the index

current-timeclj

(current-time this)

Returns the index current time

Returns the index current time

insertclj

(insert this event labels)

Updates index with event

Updates index with event

lookupclj

(lookup this labels)

Lookup an indexed event from the index

Lookup an indexed event from the index

deleteclj

(delete this labels)

Deletes an event by labels.

Deletes an event by labels.

expireclj

(expire this)

Return a seq of expired states from this index, removing each.

Return a seq of expired states from this index, removing each.

searchclj

(search this condition)

Returns a seq of events from the index matching this query.

Returns a seq of events from the index matching this query.

size-indexclj

(size-index this)

Returns the index size

Returns the index size

new-time?clj

(new-time? this t)

Takes a number representing the time as parameter and set the index current time if necessary

Takes a number representing the time as parameter and set the index current time if necessary
source

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

× close