Skip to main content

Module patch_types

Module patch_types 

Source
Expand description

Data types for the RDF Patch protocol.

Contains: PatchError, PatchResult, PatchHeader, PatchTerm, PatchTriple, PatchQuad, PatchChange, RdfPatch, PatchStats, Graph.

Structs§

Graph
A minimal in-memory RDF graph used for patch application and diff generation.
PatchError
Error produced when parsing an RDF Patch document
PatchQuad
A quad (subject, predicate, object, graph) using PatchTerm
PatchStats
Statistics collected when applying a patch to a graph
PatchTerm
A subject/object position that accepts either a named node, blank node, or literal. Used internally for parsed term positions.
PatchTriple
A triple (subject, predicate, object) using PatchTerm
RdfPatch
A complete RDF Patch document: a list of headers followed by change lines

Enums§

PatchChange
A single change line in an RDF Patch document
PatchHeader
A header entry in an RDF Patch document

Type Aliases§

PatchResult
Convenience result alias