[−][src]Trait grdf::SizedDataset
Sized gRDF dataset that can be converted into iterators.
Associated Types
type IntoGraphs: Iterator<Item = (Option<T>, Self::Graph)>
[src]
Consuming graphs iterator.
type IntoQuads: Iterator<Item = Quad<T>>
[src]
Consuming quads iterator.
Required methods
pub fn into_graph(self, id: Option<&T>) -> Option<Self::Graph>
[src]
Consumes the dataset and returns the given graph.
pub fn into_graphs(self) -> Self::IntoGraphs
[src]
Consumes the dataset and returns an iterator over its graphs.
pub fn into_quads(self) -> Self::IntoQuads
[src]
Consumes the dataset and returns an iterator over its quads.
Provided methods
pub fn into_default_graph(self) -> Self::Graph
[src]
Consumes the dataset and returns the default graph.
pub fn subjects(
self,
id: Option<&T>
) -> Option<<Self::Graph as SizedGraph<T>>::IntoSubjects>
[src]
self,
id: Option<&T>
) -> Option<<Self::Graph as SizedGraph<T>>::IntoSubjects>
Consumes the dataset and returns an iterator over the subjects of the given graph.
pub fn predicates(
self,
id: Option<&T>,
subject: &T
) -> Option<<Self::Graph as SizedGraph<T>>::IntoPredicates>
[src]
self,
id: Option<&T>,
subject: &T
) -> Option<<Self::Graph as SizedGraph<T>>::IntoPredicates>
Consumes the dataset and returns an iterator over the predicates of the given subject of the given graph.
pub fn objects(
self,
id: Option<&T>,
subject: &T,
predicate: &T
) -> Option<<Self::Graph as SizedGraph<T>>::IntoObjects>
[src]
self,
id: Option<&T>,
subject: &T,
predicate: &T
) -> Option<<Self::Graph as SizedGraph<T>>::IntoObjects>
Consumes the dataset and returns an iterator over the objects of the given subject and predicate of the given graph.