pub struct QueryOptions {
pub union_default_graph: bool,
pub sqlite_planner: bool,
pub default_graph: Option<Vec<i64>>,
pub named_graphs: Option<Vec<i64>>,
pub reasoning: Reasoning,
pub include_inferred: bool,
pub var_types: BTreeMap<String, ValueType>,
}Expand description
Per-query options.
Fields§
§union_default_graph: boolTreat the default graph as the union of all graphs (Oxigraph’s union_default_graph).
sqlite_planner: boolLet SQLite choose the join order instead of the oxilite planner (for benchmarking).
default_graph: Option<Vec<i64>>Overrides the default graph with the merge of these graphs (term ids, 0 = default
graph), like Oxigraph’s default_graph option.
named_graphs: Option<Vec<i64>>Overrides the available named graphs (term ids).
reasoning: ReasoningEntailment regime (default: none, like Oxigraph).
include_inferred: boolAlso match materialized inferences (quads_inf, see materialize()).
var_types: BTreeMap<String, ValueType>Value types known for variables (e.g. from a schema): comparisons on them compile to one typed comparison instead of a comparison per possible type. A value of another type then compares as unknown (false in a filter).
Trait Implementations§
Source§impl Clone for QueryOptions
impl Clone for QueryOptions
Source§impl Debug for QueryOptions
impl Debug for QueryOptions
Source§impl Default for QueryOptions
impl Default for QueryOptions
impl Eq for QueryOptions
Source§impl PartialEq for QueryOptions
impl PartialEq for QueryOptions
impl StructuralPartialEq for QueryOptions
Auto Trait Implementations§
impl Freeze for QueryOptions
impl RefUnwindSafe for QueryOptions
impl Send for QueryOptions
impl Sync for QueryOptions
impl Unpin for QueryOptions
impl UnsafeUnpin for QueryOptions
impl UnwindSafe for QueryOptions
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