The graph index API.
The graph index API.
(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
(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-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-add this subj pred obj)
(graph-add this subj pred obj tx)
Adds triples to the graph
Adds triples to the graph
(graph-delete this subj pred obj)
Removes triples from the graph
Removes triples from the graph
(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-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-graph this)
Creates an empty graph of the same type
Creates an empty graph of the same type
(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
(id-check o checker)
Checks an object with the provided checker
Checks an object with the provided checker
(node-label n)
Returns a keyword label for a node
Returns a keyword label for a node
(node-read data)
Reads an internal node out of data
Reads an internal node out of data
(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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close