(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.
(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.
(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.
(get-key s)
Gets the key encoding the prefix used for this Subspace.
Gets the key encoding the prefix used for this Subspace.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close