Liking cljdoc? Tell your friends :D

asami.durable.resolver

Handles resolving patterns on a graph

Handles resolving patterns on a graph
raw docstring

*stream-fromclj/s

(*stream-from selector knowns initial-node)
source

count-from-indexclj/smultimethod

This optimizes counting by traversing index nodes, and not iterating over tuples blocks.

This optimizes counting by traversing index nodes, and not iterating over tuples blocks.
sourceraw docstring

get-from-indexclj/smultimethod

Lookup an index in the graph for the requested data. Returns a sequence of unlabelled bindings. Each binding is a vector of binding values.

Lookup an index in the graph for the requested data.
Returns a sequence of unlabelled bindings. Each binding is a vector of binding values.
sourceraw docstring

get-single-from-indexclj/s

(get-single-from-index idx data-pool tag st p srch)
source

get-transitive-from-indexclj/smultimethod

Lookup an index in the graph for the requested data, and returns all data where the required predicate is a transitive relationship. Unspecified predicates extend across the graph. Returns a sequence of unlabelled bindings. Each binding is a vector of binding values.

Lookup an index in the graph for the requested data, and returns all data where the required predicate
is a transitive relationship. Unspecified predicates extend across the graph.
Returns a sequence of unlabelled bindings. Each binding is a vector of binding values.
sourceraw docstring

ordered-collectclj/s

(ordered-collect pairs)

Converts a sequence of key/value pairs that are grouped by key, and returns a map of keys to sets of values. The grouping of keys allows the avoidance of map lookups.

Converts a sequence of key/value pairs that are grouped by key, and returns a map of keys to sets of values.
The grouping of keys allows the avoidance of map lookups.
sourceraw docstring

project-after-firstclj/s

source

transitive-fromclj/s

(transitive-from idx pool tag x tproject ypos rproject)

Steps out from a provided node either forwards or backwards, to the next nodes in the required direction. idx: The index to use for lookups in the required direction pool: The datapool to turn local nodes (numbers) into global nodes (values) tag: Indicates is the transitive operation is * or + x: The starting node. A subject when going downstream, or an object when going upstream. tproject: A function for projecting tuples of predicates and the next node from x. ypos: The position in the index of the next nodes in the required direction. subjects when starting at an object, and objects when starting at a subject. rproject: A function for projecting the final result as a vector in the expected order for the operation.

Steps out from a provided node either forwards or backwards, to the next nodes in the required direction.
idx: The index to use for lookups in the required direction
pool: The datapool to turn local nodes (numbers) into global nodes (values)
tag: Indicates is the transitive operation is * or +
x: The starting node. A subject when going downstream, or an object when going upstream.
tproject: A function for projecting tuples of predicates and the next node from x.
ypos: The position in the index of the next nodes in the required direction.
      subjects when starting at an object, and objects when starting at a subject.
rproject: A function for projecting the final result as a vector in the expected order for the operation.
sourceraw docstring

v12clj/s

source

v2clj/s

source

v21clj/s

source

zero-stepclj/s

(zero-step tag pool zero result)

Prepend a zero step value if the tag requests it

Prepend a zero step value if the tag requests it
sourceraw docstring

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

× close