Expand description
Store operations as sans-IO jobs, shared by the sync, async and JavaScript drivers.
Structs§
- ScanJob
- A job returning quads matching a SQL WHERE clause, with batched term resolution.
Functions§
- clear_
graph_ job - Removes all quads of a graph (keeps the graph name).
- clear_
inferences_ job - Removes every materialized inference.
- clear_
inferences_ of_ job - Removes the inferences of one producer, keeping what other producers also derived.
- clear_
job - Removes everything.
- contains_
job - contains_
named_ graph_ job - encode_
term - Helper used by drivers: encodes a term to its id without I/O.
- inference_
producers_ job - The names of the producers that derived a quad (empty when it is not inferred). The default graph matches the graph-0 conclusions every producer writes.
- insert_
job - Atomically inserts quads; returns how many were new.
- insert_
named_ graph_ job - Adds a named graph; returns whether it was new.
- insert_
request - Insert statements for a chunk (bulk loading).
- is_
empty_ job - len_job
- materialize_
job - Recomputes the OWL 2 RL materialization (
quads_inf): discards previous inferences, then runs rule rounds (one atomic request each, i.e. one D1 batch) until a round infers nothing. Returns the number of inferred triples. Rounds are not one transaction: readers may see a partial materialization while it runs. - named_
graphs_ job - Lists named graphs.
- neighbourhood_
job - Quads whose subject (or, with
incoming, object) is one ofnodes, optionally restricted to some predicates and to the default graph: one neighbourhood hop for bounded prefetches. - open_
job - Creates the schema, then loads statistics.
- optimize_
job - Recomputes and reloads statistics.
- remove_
job - Atomically removes quads; returns how many were present.
- remove_
named_ graph_ job - Removes a named graph and its quads; returns whether it existed.
- scan_
job quads_for_patternas a job.graph_name = Nonematches every graph, default included.- schema_
refresh_ for - The statements that rebuild the derived schema caches inside a write’s own request:
tbox_closurewhen a schema axiom changed, the shape index when a SHACL triple did. - shape_
index_ job - Reads the compiled shape index.
- stats_
job - Loads statistics only.