pub struct BTreeDataset<R = Term> { /* private fields */ }
Expand description
BTree-based RDF dataset.
Implementations§
Source§impl<R> BTreeDataset<R>
impl<R> BTreeDataset<R>
Sourcepub fn resources(&self) -> Resources<'_, R> ⓘ
pub fn resources(&self) -> Resources<'_, R> ⓘ
Returns an iterator over the resources of the dataset.
Sourcepub fn into_indexed(self) -> IndexedBTreeDataset<R>
pub fn into_indexed(self) -> IndexedBTreeDataset<R>
Indexes the quads to allow more operation on this dataset, such as
pattern matching using the PatternMatchingDataset
trait.
Source§impl<R: Ord> BTreeDataset<R>
impl<R: Ord> BTreeDataset<R>
Trait Implementations§
Source§impl<R: Clone> Clone for BTreeDataset<R>
impl<R: Clone> Clone for BTreeDataset<R>
Source§fn clone(&self) -> BTreeDataset<R>
fn clone(&self) -> BTreeDataset<R>
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 moreSource§impl<R: Clone + Ord> DatasetMut for BTreeDataset<R>
impl<R: Clone + Ord> DatasetMut for BTreeDataset<R>
Source§impl<R: Debug> Debug for BTreeDataset<R>
impl<R: Debug> Debug for BTreeDataset<R>
Source§impl<R> Default for BTreeDataset<R>
impl<R> Default for BTreeDataset<R>
Source§impl<R: Clone + Ord> Extend<Quad<R>> for BTreeDataset<R>
impl<R: Clone + Ord> Extend<Quad<R>> for BTreeDataset<R>
Source§fn extend<T: IntoIterator<Item = Quad<R>>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Quad<R>>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl From<BTreeDataset> for IndexedBTreeDataset
impl From<BTreeDataset> for IndexedBTreeDataset
Source§fn from(value: BTreeDataset) -> Self
fn from(value: BTreeDataset) -> Self
Converts to this type from the input type.
Source§impl<R: Clone + Ord> FromIterator<Quad<R>> for BTreeDataset<R>
impl<R: Clone + Ord> FromIterator<Quad<R>> for BTreeDataset<R>
Source§impl<R: Hash> Hash for BTreeDataset<R>
impl<R: Hash> Hash for BTreeDataset<R>
Source§impl<'a, R> IntoIterator for &'a BTreeDataset<R>
impl<'a, R> IntoIterator for &'a BTreeDataset<R>
Source§impl<R: Clone> IntoIterator for BTreeDataset<R>
impl<R: Clone> IntoIterator for BTreeDataset<R>
Source§impl<R: Ord> Ord for BTreeDataset<R>
impl<R: Ord> Ord for BTreeDataset<R>
Source§impl<R: PartialEq> PartialEq for BTreeDataset<R>
impl<R: PartialEq> PartialEq for BTreeDataset<R>
Source§impl<R: PartialOrd> PartialOrd for BTreeDataset<R>
impl<R: PartialOrd> PartialOrd for BTreeDataset<R>
Source§impl<R: RdfDisplay> RdfDisplay for BTreeDataset<R>
impl<R: RdfDisplay> RdfDisplay for BTreeDataset<R>
Source§fn rdf_fmt(&self, f: &mut Formatter<'_>) -> Result
fn rdf_fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter.
Source§fn rdf_display(&self) -> RdfDisplayed<&Self>
fn rdf_display(&self) -> RdfDisplayed<&Self>
Prepare the value to be formatted as an RDF syntax element.
Source§impl<R> ResourceTraversableDataset for BTreeDataset<R>
impl<R> ResourceTraversableDataset for BTreeDataset<R>
Source§impl<R> TraversableDataset for BTreeDataset<R>
impl<R> TraversableDataset for BTreeDataset<R>
impl<R: Eq> Eq for BTreeDataset<R>
Auto Trait Implementations§
impl<R> Freeze for BTreeDataset<R>
impl<R> RefUnwindSafe for BTreeDataset<R>where
R: RefUnwindSafe,
impl<R> Send for BTreeDataset<R>where
R: Send,
impl<R> Sync for BTreeDataset<R>where
R: Sync,
impl<R> Unpin for BTreeDataset<R>where
R: Unpin,
impl<R> UnwindSafe for BTreeDataset<R>where
R: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<D> FallibleDataset for Dwhere
D: Dataset,
impl<D> FallibleDataset for Dwhere
D: Dataset,
Source§impl<D> FallibleDatasetMut for Dwhere
D: DatasetMut,
impl<D> FallibleDatasetMut for Dwhere
D: DatasetMut,
fn try_insert( &mut self, quad: Quad<<D as FallibleDataset>::Resource>, ) -> Result<(), <D as FallibleDataset>::Error>
Source§impl<D> FallibleTraversableDataset for Dwhere
D: TraversableDataset,
impl<D> FallibleTraversableDataset for Dwhere
D: TraversableDataset,
Source§type TryQuads<'a> = InfallibleIterator<<D as TraversableDataset>::Quads<'a>>
where
D: 'a
type TryQuads<'a> = InfallibleIterator<<D as TraversableDataset>::Quads<'a>> where D: 'a
Fallible quads iterator.