Liking cljdoc? Tell your friends :D

me.vedang.clj-fdb.subspace.subspace


contains?clj

(contains? s key)

Tests whether the specified key starts with this Subspace's prefix, indicating that the Subspace logically contains key.

Tests whether the specified key starts with this Subspace's prefix,
indicating that the Subspace logically contains key.
sourceraw docstring

create-subspaceclj

(create-subspace)
(create-subspace prefix)

Constructor for a subspace formed with the specified prefix Tuple.

Constructor for a subspace formed with the specified prefix Tuple.
sourceraw docstring

getclj

(get s t)

Gets a new subspace which is equivalent to this subspace with its prefix Tuple extended by the specified Tuple.

Gets a new subspace which is equivalent to this subspace with its
prefix Tuple extended by the specified Tuple.
sourceraw docstring

get-keyclj

(get-key s)

Gets the key encoding the prefix used for this Subspace.

Gets the key encoding the prefix used for this Subspace.
sourceraw docstring

packclj

(pack s)
(pack s t)

Gets the key encoding the prefix used for this Subspace. If a tuple is passed, key encoding is suffixed with passed tuple.

Gets the key encoding the prefix used for this Subspace.
If a tuple is passed, key encoding is suffixed with passed tuple.
sourceraw docstring

rangeclj

(range s)
(range s t)

Gets a Range respresenting all keys strictly in the Subspace.

If a tuple is passed, gets a Range representing all keys in the Subspace strictly starting with the specified Tuple.

Gets a Range respresenting all keys strictly in the Subspace.

If a tuple is passed, gets a Range representing all keys in the
Subspace strictly starting with the specified Tuple.
sourceraw docstring

unpackclj

(unpack s key)

Gets the Tuple encoded by the given key, with this Subspace's prefix Tuple and raw prefix removed.

Gets the Tuple encoded by the given key, with this Subspace's
prefix Tuple and raw prefix removed.
sourceraw docstring

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

× close