[−][src]Trait ligature::QueryTx
Represents a QueryTx within the context of a Ligature instance and a single Dataset
Required methods
pub fn all_statements(&self) -> Box<dyn Iterator<Item = PersistedStatement>>
[src]
Returns all Statements in this Dataset as PersistedStatements. TODO should probably return a Result
pub fn match_statements(
&self,
subject: Option<Subject>,
predicate: Option<Predicate>,
object: Option<Object>,
graph: Option<Graph>
) -> Box<dyn Iterator<Item = PersistedStatement>>
[src]
&self,
subject: Option<Subject>,
predicate: Option<Predicate>,
object: Option<Object>,
graph: Option<Graph>
) -> Box<dyn Iterator<Item = PersistedStatement>>
Retuns all Statements that match the given criteria. If a parameter is None then it matches all, so passing all Nones is the same as calling all_statements. TODO should return a Result
pub fn match_statements_range(
&self,
subject: Option<Subject>,
predicate: Option<Predicate>,
graph: Option<Graph>,
range: Range
) -> Box<dyn Iterator<Item = PersistedStatement>>
[src]
&self,
subject: Option<Subject>,
predicate: Option<Predicate>,
graph: Option<Graph>,
range: Range
) -> Box<dyn Iterator<Item = PersistedStatement>>
Retuns all Statements that match the given criteria. If a parameter is None then it matches all. TODO should return a Result