pub struct Update { /* private fields */ }๐Deprecated since 0.5.0:
Use SparqlEvaluator instead to parse the update with options or directly the spargebra::Update type
Expand description
A parsed SPARQL update.
use oxigraph::sparql::Update;
let update_str = "CLEAR ALL ;";
let update = Update::parse(update_str, None)?;
assert_eq!(update.to_string().trim(), update_str);Implementationsยง
Sourceยงimpl Update
impl Update
Sourcepub fn parse(
update: &str,
base_iri: Option<&str>,
) -> Result<Self, SparqlSyntaxError>
pub fn parse( update: &str, base_iri: Option<&str>, ) -> Result<Self, SparqlSyntaxError>
Parses a SPARQL update with an optional base IRI to resolve relative IRIs in the query.
Sourcepub fn using_datasets(&self) -> impl Iterator<Item = &QueryDatasetSpecification>
pub fn using_datasets(&self) -> impl Iterator<Item = &QueryDatasetSpecification>
Sourcepub fn using_datasets_mut(
&mut self,
) -> impl Iterator<Item = &mut QueryDatasetSpecification>
pub fn using_datasets_mut( &mut self, ) -> impl Iterator<Item = &mut QueryDatasetSpecification>
Trait Implementationsยง
impl Eq for Update
impl StructuralPartialEq for Update
Auto Trait Implementationsยง
impl Freeze for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnsafeUnpin for Update
impl UnwindSafe for Update
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