pub struct RdfStatisticsCollector { /* private fields */ }Expand description
Collector for building RDF statistics from a triple store.
Implementations§
Source§impl RdfStatisticsCollector
impl RdfStatisticsCollector
Sourcepub fn record_triple(&mut self, subject: &str, predicate: &str, object: &str)
pub fn record_triple(&mut self, subject: &str, predicate: &str, object: &str)
Records a triple.
Sourcepub fn build(self) -> RdfStatistics
pub fn build(self) -> RdfStatistics
Builds the final statistics.
Trait Implementations§
Source§impl Default for RdfStatisticsCollector
impl Default for RdfStatisticsCollector
Source§fn default() -> RdfStatisticsCollector
fn default() -> RdfStatisticsCollector
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RdfStatisticsCollector
impl RefUnwindSafe for RdfStatisticsCollector
impl Send for RdfStatisticsCollector
impl Sync for RdfStatisticsCollector
impl Unpin for RdfStatisticsCollector
impl UnwindSafe for RdfStatisticsCollector
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