Liking cljdoc? Tell your friends :D

eva.v2.datastructures.bbtree.logic.v0.protocols


IBufferedBTreeNodecljprotocol

inner-node?clj

(inner-node? this)

Is it an inner node?

Is it an inner node?

mark-rootclj

(mark-root this b)

Mark it as a root node.

Mark it as a root node.

node-getclj

(node-get this k)

Returns the value stored at this node under key k.

Returns the value stored at this node under key k.

node-sizeclj

(node-size this)

Returns the node's size.

Returns the node's size.

mark-leafclj

(mark-leaf this b)

Mark it as a leaf node.

Mark it as a leaf node.

propertiesclj

(properties this)

Returns a properties map.

Returns a properties map.

childrenclj

(children this)
(children this m)
(children this f v)

Returns (or sets) the map-like structure containing the children.

Returns (or sets) the map-like structure containing the children.

node-assocclj

(node-assoc this k v)

Adds a key and value to this node without reference to validity constraints. Updates node description.

Adds a key and value to this node without reference to validity constraints. Updates node description.

buffer-sizeclj

(buffer-size this)

Returns the buffer-size of the node.

Returns the buffer-size of the node.

node-dissocclj

(node-dissoc this k)

Removes a key from this node without reference to validity constraints. Updates node description.

Removes a key from this node without reference to validity constraints. Updates node description.

node-comparatorclj

(node-comparator this)

Returns the comparator used by the node.

Returns the comparator used by the node.

new-node-fromclj

(new-node-from this)

Constructs a new node from this one (with a new id), preserving properties =:order=, =:leaf?=, and =:root?=

Constructs a new node from this one (with a new id), preserving properties =:order=, =:leaf?=, and =:root?=

buffer-dissocclj

(buffer-dissoc this k)

Removes messages bound to k from the buffer.

Removes messages bound to k from the buffer.

node-key-forclj

(node-key-for this k)

Returns the key to use for insertion (depending on whether it is leaf or inner).

Returns the key to use for insertion (depending on whether it is leaf or inner).

node-conjclj

(node-conj this kv)

Adds a key and value to this node without reference to validity constraints. Updates node description.

Adds a key and value to this node without reference to validity constraints. Updates node description.

node-orderclj

(node-order this)

Returns the order of the node.

Returns the order of the node.

min-recclj

(min-rec this)
(min-rec this v)
(min-rec this f v)

Single arity gets, double arity sets, triple arity updates.

Single arity gets, double arity sets, triple arity updates.

leaf-node?clj

(leaf-node? this)

Is it a leaf node?

Is it a leaf node?

max-recclj

(max-rec this)
(max-rec this v)
(max-rec this f v)

Single arity gets, double arity sets, triple arity updates.

Single arity gets, double arity sets, triple arity updates.

messagesclj

(messages this)
(messages this v)
(messages this f v)

Returns the map-like structure representing the message buffer. Or sets it.

Returns the map-like structure representing the message buffer. Or sets it.

node-emptyclj

(node-empty this)

Constructs an empty node, preserving the id and properties =:order=, =:leaf?=, and =:root?=

Constructs an empty node, preserving the id and properties =:order=, =:leaf?=, and =:root?=

root-node?clj

(root-node? this)

Is it a root node?

Is it a root node?

node-idclj

(node-id this)
(node-id this v)

Returns this node's id, persistent across modifications.

Returns this node's id, persistent across modifications.

transaction-idclj

(transaction-id this)
(transaction-id this v)

Returns the transaction id at which this node was created.

Returns the transaction id at which this node was created.
source

ICustomSelectorcljprotocol

apply-internalclj

(apply-internal this avl-children)

Returns a seq of the children relevant to your search.

Returns a seq of the children relevant to your search.

apply-leafclj

(apply-leaf this avl-children)

Returns a seq of the values relevant to your search.

Returns a seq of the values relevant to your search.

labelclj

(label this)

Returns the label used for this selector -- should uniquely identify it.

Returns the label used for this selector -- should uniquely identify it.
source

TreeMessagecljprotocol

apply-messageclj

(apply-message this cmp kvstore)

Applies this message to the kvstore. Returns kvstore.

Applies this message to the kvstore. Returns kvstore.

opclj

(op this)

Returns the operation this message intends.

Returns the operation this message intends.

payloadclj

(payload this)

Returns the message payload.

Returns the message payload.

ranged?clj

(ranged? this)

Returns true if the message is targeted for a range.

Returns true if the message is targeted for a range.

recipclj

(recip this)

Returns the 'recipient' of the message, the final key to which it tends.

Returns the 'recipient' of the message, the final key to which it tends.
source

VERSIONclj

source

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

× close