Liking cljdoc? Tell your friends :D

asami.graph

The graph index API.

The graph index API.
raw docstring

*default-tx-id*clj/s

source

broad-node-type?clj/s

(broad-node-type? n)
source

count-patternclj/s

(count-pattern graph [s p o :as pattern])

Convenience function to extract elements out of a pattern to count the resolution

Convenience function to extract elements out of a pattern to count the resolution
sourceraw docstring

Graphclj/sprotocol

count-tripleclj/s

(count-triple this subj pred obj)

Resolves patterns from the graph, and returns the size of the resolution

Resolves patterns from the graph, and returns the size of the resolution

graph-addclj/s

(graph-add this subj pred obj)
(graph-add this subj pred obj tx)

Adds triples to the graph

Adds triples to the graph

graph-deleteclj/s

(graph-delete this subj pred obj)

Removes triples from the graph

Removes triples from the graph

graph-diffclj/s

(graph-diff this other)

Returns all subjects that have changed in this graph, compared to other

Returns all subjects that have changed in this graph, compared to other

graph-transactclj/s

(graph-transact this tx-id assertions retractions)

Bulk operation to add and remove multiple statements in a single operation

Bulk operation to add and remove multiple statements in a single operation

new-graphclj/s

(new-graph this)

Creates an empty graph of the same type

Creates an empty graph of the same type

resolve-tripleclj/s

(resolve-triple this subj pred obj)

Resolves patterns from the graph, and returns unbound columns only

Resolves patterns from the graph, and returns unbound columns only
source

GraphTypeclj/s

source

InternalNodecljs

source

new-nodeclj/s

(new-node)
(new-node id)
source

node-idclj/s

(node-id n)
source

node-labelclj/s

(node-label n)

Returns a keyword label for a node

Returns a keyword label for a node
sourceraw docstring

node-prefixclj/s

source

node-readclj/s

(node-read s)

Reads a node from a string

Reads a node from a string
sourceraw docstring

node-readerclj/s

source

node-type?clj/s

(node-type? n)
source

prefix-lenclj/s

source

resolve-patternclj/s

(resolve-pattern graph [s p o :as pattern])

Convenience function to extract elements out of a pattern to query for it

Convenience function to extract elements out of a pattern to query for it
sourceraw docstring

tg-nsclj/s

source

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

× close