pub struct OptimizerQualificationOutput {
pub snapshot_epoch: u64,
pub optimizer_trace: OptimizerTrace,
pub selected_plan_instance_fingerprint: String,
pub cost_policy_id: &'static str,
pub cost_weights: PlanCostWeights,
pub work_units: usize,
pub preparation_elapsed: Duration,
pub execution_elapsed: Duration,
pub result: Result<BoundedReadQueryOutput>,
}Expand description
Evidence from an offline optimizer qualification read.
Fields§
§snapshot_epoch: u64§optimizer_trace: OptimizerTrace§selected_plan_instance_fingerprint: StringComplete physical identity, including bound access/index details omitted from the ordinary shape fingerprint.
cost_policy_id: &'static str§cost_weights: PlanCostWeights§work_units: usizeWork charged while preparing and executing this qualified read.
preparation_elapsed: DurationParse, bind and uncached plan preparation, excluding result execution.
execution_elapsed: DurationAdmitted execution and complete result materialization, including errors.
result: Result<BoundedReadQueryOutput>Implementations§
Source§impl OptimizerQualificationOutput
impl OptimizerQualificationOutput
pub fn verify_rules( &self, assertions: &[OptimizerRuleAssertion], ) -> Result<(), OptimizerRuleAssertionError>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for OptimizerQualificationOutput
impl Forget for OptimizerQualificationOutput
impl Move for OptimizerQualificationOutput
impl RefUnwindSafe for OptimizerQualificationOutput
impl Send for OptimizerQualificationOutput
impl Sync for OptimizerQualificationOutput
impl Unpin for OptimizerQualificationOutput
impl UnsafeUnpin for OptimizerQualificationOutput
impl UnwindSafe for OptimizerQualificationOutput
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more