[][src]Struct oxigraph::sparql::QueryOptions

pub struct QueryOptions { /* fields omitted */ }

Options for SPARQL query evaluation

Implementations

impl QueryOptions[src]

pub fn with_default_graph_as_union(self) -> Self[src]

Consider the union of all graphs in the store as the default graph

pub fn with_default_graph(
    self,
    default_graph_name: impl Into<GraphName>
) -> Self
[src]

Adds a graph to the set of graphs considered by the SPARQL query as the queried dataset default graph. It overrides the FROM and FROM NAMED elements of the evaluated query.

pub fn with_named_graph(
    self,
    named_graph_name: impl Into<NamedOrBlankNode>
) -> Self
[src]

Adds a named graph to the set of graphs considered by the SPARQL query as the queried dataset named graphs. It overrides the FROM and FROM NAMED elements of the evaluated query.

pub fn with_service_handler(
    self,
    service_handler: impl ServiceHandler + 'static
) -> Self
[src]

Use a given ServiceHandler to execute SPARQL 1.1 Federated Query SERVICE calls.

Trait Implementations

impl Clone for QueryOptions[src]

impl Default for QueryOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,