pub struct R2ROperator { /* private fields */ }Expand description
R2R (Relation-to-Relation) Operator Executes SPARQL queries over streaming data combined with static data
Implementations§
Source§impl R2ROperator
impl R2ROperator
Sourcepub fn add_static_data(&mut self, quad: Quad)
pub fn add_static_data(&mut self, quad: Quad)
Add a static quad to the operator’s static data store
Sourcepub fn execute(
&self,
container: &QuadContainer,
) -> Result<QueryResults<'_>, Box<dyn Error>>
pub fn execute( &self, container: &QuadContainer, ) -> Result<QueryResults<'_>, Box<dyn Error>>
Execute the SPARQL query over the container’s quads combined with static data
Sourcepub fn execute_select(
&self,
container: &QuadContainer,
) -> Result<Vec<String>, Box<dyn Error>>
pub fn execute_select( &self, container: &QuadContainer, ) -> Result<Vec<String>, Box<dyn Error>>
Execute the SPARQL query and return results as a vector of solution mappings This is a convenience method that handles common result types
Sourcepub fn static_data_size(&self) -> usize
pub fn static_data_size(&self) -> usize
Get the number of static quads
Trait Implementations§
Source§impl Clone for R2ROperator
impl Clone for R2ROperator
Source§fn clone(&self) -> R2ROperator
fn clone(&self) -> R2ROperator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for R2ROperator
impl RefUnwindSafe for R2ROperator
impl Send for R2ROperator
impl Sync for R2ROperator
impl Unpin for R2ROperator
impl UnwindSafe for R2ROperator
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