pub struct BoundPreparedSparqlUpdate<'a, 'b> { /* private fields */ }Expand description
A prepared SPARQL query bound to a storage, ready to be executed.
Usage example:
use oxigraph::sparql::SparqlEvaluator;
use oxigraph::store::Store;
let store = Store::new()?;
let prepared_update = SparqlEvaluator::new()
.parse_update(
"INSERT DATA { <http://example.com> <http://example.com> <http://example.com> }",
)?
.on_store(&store);
prepared_update.execute()?;Implementations§
Source§impl BoundPreparedSparqlUpdate<'_, '_>
impl BoundPreparedSparqlUpdate<'_, '_>
Sourcepub fn execute(self) -> Result<(), UpdateEvaluationError>
pub fn execute(self) -> Result<(), UpdateEvaluationError>
Evaluate the update against the given store.
Auto Trait Implementations§
impl<'a, 'b> Freeze for BoundPreparedSparqlUpdate<'a, 'b>
impl<'a, 'b> !RefUnwindSafe for BoundPreparedSparqlUpdate<'a, 'b>
impl<'a, 'b> !Send for BoundPreparedSparqlUpdate<'a, 'b>
impl<'a, 'b> !Sync for BoundPreparedSparqlUpdate<'a, 'b>
impl<'a, 'b> Unpin for BoundPreparedSparqlUpdate<'a, 'b>
impl<'a, 'b> UnsafeUnpin for BoundPreparedSparqlUpdate<'a, 'b>
impl<'a, 'b> !UnwindSafe for BoundPreparedSparqlUpdate<'a, 'b>
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