pub struct ExistsClause {
pub negated: bool,
pub body: Box<PlanNode>,
pub correlation: Vec<Variable>,
pub kind: ExistsKind,
}Expand description
One EXISTS { P } or NOT EXISTS { P } FILTER conjunct.
Only top-level && conjuncts of a FILTER (not HAVING, not OPTIONAL
conditions) lower here. The following stay
ComputeError::UnsupportedSparql:
BIND(EXISTS { … } AS ?e)IF(EXISTS { … }, …, …)(and any otherEXISTSleft in a residual expression, includingFILTER(EXISTS { … } || …))HAVING EXISTS { … }- OPTIONAL / LeftJoin condition containing
EXISTS - EXISTS body sub-SELECT that references outer variables
- EXISTS body
GROUP BYthat references outer variables EXISTSremaining as an expression inside a renamed sub-SELECT / NestedProbe scope (EXISTS inside a sub-SELECT is not supported)
Fields§
§negated: booltrue for NOT EXISTS.
body: Box<PlanNode>Lowered body (sparopt + Waratah). Mode 3 may rename inner-only names.
correlation: Vec<Variable>Outer variables that appear in the body. Empty ⇒ uncorrelated.
kind: ExistsKindExecution strategy chosen after the body was lowered.
Trait Implementations§
Source§impl Clone for ExistsClause
impl Clone for ExistsClause
Source§fn clone(&self) -> ExistsClause
fn clone(&self) -> ExistsClause
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 ExistsClause
impl Debug for ExistsClause
Source§impl PartialEq for ExistsClause
impl PartialEq for ExistsClause
impl StructuralPartialEq for ExistsClause
Auto Trait Implementations§
impl Freeze for ExistsClause
impl !RefUnwindSafe for ExistsClause
impl Send for ExistsClause
impl Sync for ExistsClause
impl Unpin for ExistsClause
impl UnsafeUnpin for ExistsClause
impl !UnwindSafe for ExistsClause
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].