pub struct ModifyOp {
pub delete_templates: Vec<TripleTemplate>,
pub insert_templates: Vec<TripleTemplate>,
pub where_clause: Box<LogicalOperator>,
pub graph: Option<String>,
}Expand description
SPARQL MODIFY operation (DELETE/INSERT WHERE).
Per SPARQL 1.1 Update spec, this operator:
- Evaluates the WHERE clause once to get bindings
- Applies DELETE templates using those bindings
- Applies INSERT templates using the SAME bindings
This ensures DELETE and INSERT see consistent data.
Fields§
§delete_templates: Vec<TripleTemplate>DELETE triple templates (patterns with variables).
insert_templates: Vec<TripleTemplate>INSERT triple templates (patterns with variables).
where_clause: Box<LogicalOperator>WHERE clause that provides variable bindings.
graph: Option<String>Named graph context (for WITH clause).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModifyOp
impl RefUnwindSafe for ModifyOp
impl Send for ModifyOp
impl Sync for ModifyOp
impl Unpin for ModifyOp
impl UnwindSafe for ModifyOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more