Liking cljdoc? Tell your friends :D

asami.graph

The graph index API.

The graph index API.
raw docstring

*default-tx-id*clj/s

source

a-nsclj/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

attribute-valuesclj/s

(attribute-values this node)

Returns all predicate/objects or attribute/values for a node

Returns all predicate/objects or attribute/values for a node

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)
(graph-transact this tx-id assertions retractions generated)

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

IdCheckclj/sprotocol

id-checkclj/s

(id-check o checker)

Checks an object with the provided checker

Checks an object with the provided checker
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-readerclj/s

source

node-type?clj/s

(node-type? n)
source

NodeDataclj/sprotocol

node-readclj/s

(node-read data)

Reads an internal node out of data

Reads an internal node out of data
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

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

× close