Skip to main content

SingleQuery

Struct SingleQuery 

Source
pub struct SingleQuery {
    pub clauses: Vec<Clause>,
}

Fields§

§clauses: Vec<Clause>

Implementations§

Source§

impl SingleQuery

Source

pub fn leading_importing_with(&self) -> Option<LeadingWith<'_>>

The clause a CALL subquery body opens with, when it is an importing WITH: the first non-USE clause, and only if it is an explicit WITH (LET/FILTER desugar to With but are ordinary projections, never importing WITHs). One derivation for both the planner’s 42I28 rule and the notification layer’s import-set analysis; the typed payload saves every caller re-discriminating the clause variant.

Source

pub fn leading_imports(&self, outer: &BTreeSet<String>) -> BTreeSet<String>

The names this part’s importing WITH pulls in from outer — the plain-WITH half of LeadingWith::imports, BTreeSet::new when the part has none. One import policy (LeadingWith::imports), one spelling of “this part has an importing WITH at all”.

Trait Implementations§

Source§

impl Clone for SingleQuery

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SingleQuery

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for SingleQuery

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for SingleQuery

Auto Trait Implementations§

§

impl Forget for SingleQuery

§

impl Freeze for SingleQuery

§

impl Move for SingleQuery

§

impl RefUnwindSafe for SingleQuery

§

impl Send for SingleQuery
where RawVecInner: Send, BoxRaw<Clause>: Send, Arc<str>: Send, BoxRaw<Expr>: Send, BoxRaw<LabelExpr>: Send, Arc<Vec<Value>>: Send, Arc<BTreeMap<String, Value>>: Send, Arc<Node>: Send, Arc<Relationship>: Send, Arc<Path>: Send, NonZero<i32>: Send, BoxRaw<CivilZonedFields>: Send, Arc<[f32]>: Send, Arc<[f64]>: Send, Arc<[i64]>: Send, Arc<[u8]>: Send, BoxRaw<TypeExpr>: Send, BoxRaw<Query>: Send, BoxRaw<SearchClause>: Send,

§

impl Sync for SingleQuery
where RawVecInner: Sync, BoxRaw<Clause>: Sync, Arc<str>: Sync, BoxRaw<Expr>: Sync, BoxRaw<LabelExpr>: Sync, Arc<Vec<Value>>: Sync, Arc<BTreeMap<String, Value>>: Sync, Arc<Node>: Sync, Arc<Relationship>: Sync, Arc<Path>: Sync, NonZero<i32>: Sync, BoxRaw<CivilZonedFields>: Sync, Arc<[f32]>: Sync, Arc<[f64]>: Sync, Arc<[i64]>: Sync, Arc<[u8]>: Sync, BoxRaw<TypeExpr>: Sync, BoxRaw<Query>: Sync, BoxRaw<SearchClause>: Sync,

§

impl Unpin for SingleQuery

§

impl UnsafeUnpin for SingleQuery

§

impl UnwindSafe for SingleQuery

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.