Trait ligature::QueryTx [−][src]
Represents a QueryTx within the context of a Ligature instance and a single Dataset
Required methods
fn all_statements(
&self
) -> Box<dyn Iterator<Item = Result<PersistedStatement, LigatureError>>>
[src]
&self
) -> Box<dyn Iterator<Item = Result<PersistedStatement, LigatureError>>>
Returns all PersistedStatements in this Dataset.
fn match_statements(
&self,
source: Option<Entity>,
arrow: Option<Attribute>,
target: Option<Value>
) -> Box<dyn Iterator<Item = Result<PersistedStatement, LigatureError>>>
[src]
&self,
source: Option<Entity>,
arrow: Option<Attribute>,
target: Option<Value>
) -> Box<dyn Iterator<Item = Result<PersistedStatement, LigatureError>>>
Returns all PersistedStatements 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.
fn match_statements_range(
&self,
source: Option<Entity>,
arrow: Option<Attribute>,
target: Range
) -> Box<dyn Iterator<Item = Result<PersistedStatement, LigatureError>>>
[src]
&self,
source: Option<Entity>,
arrow: Option<Attribute>,
target: Range
) -> Box<dyn Iterator<Item = Result<PersistedStatement, LigatureError>>>
Retuns all PersistedStatements that match the given criteria. If a parameter is None then it matches all.
fn statement_for_context(
&self,
context: &Entity
) -> Result<Option<PersistedStatement>, LigatureError>
[src]
&self,
context: &Entity
) -> Result<Option<PersistedStatement>, LigatureError>
Returns the PersistedStatement for the given context.