pub struct ResidentGraphRouteCertificate { /* private fields */ }Expand description
Complete prelaunch proof of the physical routes selected for a plan.
Implementations§
Source§impl ResidentGraphRouteCertificate
impl ResidentGraphRouteCertificate
Sourcepub fn inspect(
plan: &ExecutionPlan,
catalog: &ResidentGraphSchemaCatalog,
) -> Result<Self>
pub fn inspect( plan: &ExecutionPlan, catalog: &ResidentGraphSchemaCatalog, ) -> Result<Self>
Inspects every explicit and implicit route in deterministic plan order.
Sourcepub fn is_supported(&self) -> bool
pub fn is_supported(&self) -> bool
Whether every inspected route has a resident implementation.
Sourcepub fn covered_route_descriptors(&self) -> &BTreeSet<String>
pub fn covered_route_descriptors(&self) -> &BTreeSet<String>
Deterministically ordered route occurrences covered by this proof.
Sourcepub fn declines(&self) -> &[ResidentGraphDeclineReason]
pub fn declines(&self) -> &[ResidentGraphDeclineReason]
Fail-closed reasons collected during inspection.
Sourcepub fn plan_fingerprint(&self) -> u64
pub fn plan_fingerprint(&self) -> u64
Stable binding between this certificate and every inspected physical route, expression, key position, schema, and implicit set operation.
Sourcepub fn matches_plan(&self, plan: &ExecutionPlan) -> Result<bool>
pub fn matches_plan(&self, plan: &ExecutionPlan) -> Result<bool>
Re-inspects a plan and proves that it is the exact plan certified by this value. Preparation performs this check before workspace allocation.
Trait Implementations§
Source§impl Clone for ResidentGraphRouteCertificate
impl Clone for ResidentGraphRouteCertificate
Source§fn clone(&self) -> ResidentGraphRouteCertificate
fn clone(&self) -> ResidentGraphRouteCertificate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResidentGraphRouteCertificate
impl RefUnwindSafe for ResidentGraphRouteCertificate
impl Send for ResidentGraphRouteCertificate
impl Sync for ResidentGraphRouteCertificate
impl Unpin for ResidentGraphRouteCertificate
impl UnsafeUnpin for ResidentGraphRouteCertificate
impl UnwindSafe for ResidentGraphRouteCertificate
Blanket Implementations§
impl<T> Allocation for T
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