Expand description
A mutable reference to an object of type T
(a QueryBox
or a Quantifier
)
bound to a specific Model
.
Fields§
§model: &'a Model
§ref: Ref<'a, T>
Implementations§
source§impl<'a> BoundRef<'a, QueryBox>
impl<'a> BoundRef<'a, QueryBox>
sourcepub fn input_quantifiers(
&self
) -> impl DoubleEndedIterator<Item = BoundRef<'_, Quantifier>>
pub fn input_quantifiers(
&self
) -> impl DoubleEndedIterator<Item = BoundRef<'_, Quantifier>>
Delegate to QueryBox::input_quantifiers
with the enclosing model.
sourcepub fn ranging_quantifiers(
&self
) -> impl DoubleEndedIterator<Item = BoundRef<'_, Quantifier>>
pub fn ranging_quantifiers(
&self
) -> impl DoubleEndedIterator<Item = BoundRef<'_, Quantifier>>
Delegate to QueryBox::ranging_quantifiers
with the enclosing model.
pub fn correlation_info(
&self
) -> BTreeMap<QuantifierId, HashSet<ColumnReference>>
source§impl<'a> BoundRef<'a, Quantifier>
impl<'a> BoundRef<'a, Quantifier>
Immutable Quantifier
methods that depend on their enclosing Model
.
sourcepub fn input_box(&'a self) -> BoundRef<'a, QueryBox>
pub fn input_box(&'a self) -> BoundRef<'a, QueryBox>
Resolve a bound reference to the input box of this quantifier.
sourcepub fn parent_box(&self) -> BoundRef<'_, QueryBox>
pub fn parent_box(&self) -> BoundRef<'_, QueryBox>
Resolve a bound reference to the parent box of this quantifier.
sourcepub fn output_arity(&self) -> usize
pub fn output_arity(&self) -> usize
The arity of the quantifier from the perspective of the parent box.
Note that this is distinct from the arity of the input box of the quantifier. For example, an existential subquery may have any number of input columns, but its output is always a single boolean not null column.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for BoundRef<'a, T>
impl<'a, T> !Send for BoundRef<'a, T>
impl<'a, T> !Sync for BoundRef<'a, T>
impl<'a, T> Unpin for BoundRef<'a, T>
impl<'a, T> !UnwindSafe for BoundRef<'a, T>
Blanket Implementations§
source§impl<T, A> DynAccess<T> for Awhere
A: Access<T>,
<A as Access<T>>::Guard: 'static,
impl<T, A> DynAccess<T> for Awhere
A: Access<T>,
<A as Access<T>>::Guard: 'static,
source§fn load(&self) -> DynGuard<T>
fn load(&self) -> DynGuard<T>
The equivalent of
Access::load
.source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.