pub enum DefaultGraphWindow {
RdfDefault,
AllGraphs,
Empty,
Ground(EncodedTerm),
Allow(GraphFilter),
}Expand description
How a bare BGP / path (SPARQL default graph) binds G.
Variants§
RdfDefault
RDF unnamed graph only (Some(DefaultGraph)).
AllGraphs
Every graph, named and unnamed (graph_name = None).
Storage unique’s S/P/O (merge_default_graph) — RDF merge, not a bag of quads.
Empty
No FROM graphs: bare BGP matches nothing.
Ground(EncodedTerm)
Single FROM IRI: ground G.
Allow(GraphFilter)
Several FROM IRIs: unbound G plus allow-list.
Same RDF-merge unique as Self::AllGraphs.
Implementations§
Source§impl DefaultGraphWindow
impl DefaultGraphWindow
Sourcepub fn merge_default_graph(&self) -> bool
pub fn merge_default_graph(&self) -> bool
Multi-source SPARQL default graph: an RDF merge of physical graphs.
Self::AllGraphs (default_union) and Self::Allow (several FROM
IRIs) need storage-side S/P/O unique + G rewritten to DefaultGraph.
A single grounded graph does not.
Trait Implementations§
Source§impl Clone for DefaultGraphWindow
impl Clone for DefaultGraphWindow
Source§fn clone(&self) -> DefaultGraphWindow
fn clone(&self) -> DefaultGraphWindow
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultGraphWindow
impl Debug for DefaultGraphWindow
Source§impl PartialEq for DefaultGraphWindow
impl PartialEq for DefaultGraphWindow
impl StructuralPartialEq for DefaultGraphWindow
Auto Trait Implementations§
impl Freeze for DefaultGraphWindow
impl RefUnwindSafe for DefaultGraphWindow
impl Send for DefaultGraphWindow
impl Sync for DefaultGraphWindow
impl Unpin for DefaultGraphWindow
impl UnsafeUnpin for DefaultGraphWindow
impl UnwindSafe for DefaultGraphWindow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].