pub struct Rdf12DatatypeConflictChecker { /* private fields */ }Expand description
Execute shared default-map conflict clauses against one source-only closure.
The controller must first validate source literals and close source facts, including nonempty datatype witnesses, and must not add target context yet. The role guard rejects explicit target input; it cannot audit a caller’s snapshot selection or certify completion of the preceding semantic phases. This operation does not assert negative membership or write RDF facts.
Implementations§
Source§impl Rdf12DatatypeConflictChecker
impl Rdf12DatatypeConflictChecker
Sourcepub const fn new(limits: DatatypeConflictLimits) -> Self
pub const fn new(limits: DatatypeConflictLimits) -> Self
Configure strict work and diagnostic limits.
Sourcepub async fn run<S, D>(
&self,
store: &mut S,
role: LiteralRole,
sink: &mut D,
) -> Result<DatatypeConflictReport, DatatypeConflictError<S::Error>>
pub async fn run<S, D>( &self, store: &mut S, role: LiteralRole, sink: &mut D, ) -> Result<DatatypeConflictReport, DatatypeConflictError<S::Error>>
Stream all detected witnesses from one immutable selected source snapshot.
At most two cursors and one fixed shared clause are retained. The sink owns scope/snapshot provenance and durable/spilled storage. An empty successful report only excludes these three witnessed default-map clashes in the supplied closure; it does not prove overall consistency.
§Errors
Wrong role, storage, cancellation and exhausted budgets abort the attempt. A late cursor failure must invalidate any already staged diagnostics.