pub struct SourcePlan {
pub source: SourceName,
pub kind: String,
pub pushed_down: Vec<Predicate>,
pub applied_locally: Vec<Predicate>,
pub emulated: Vec<Predicate>,
pub unavailable: Vec<Predicate>,
pub pages_fetched: u32,
}Expand description
What one source was asked for, and what happened to each predicate.
Fields§
§source: SourceNameThe configured source this describes.
kind: StringThe plugin kind behind it.
pushed_down: Vec<Predicate>Predicates the source applied itself.
The four predicate vectors below partition one set of outcomes, and nothing in
the type says so: a Predicate could appear in two of them at once, or in none.
One Vec<(Predicate, Outcome)> — or a map keyed by predicate — would make that
unrepresentable. See the directive below for why it stays as it is.
applied_locally: Vec<Predicate>Predicates the engine applied in memory over a wider result set.
emulated: Vec<Predicate>Predicates the engine answered by a bounded scan of the source.
Predicates neither side could answer, so the result is unconstrained.
Never Predicate::ReverseDependencies: DependencySupport has no
unsupported variant, so a reverse-dependency read is answered natively or
emulated by the engine’s bounded scan, never abandoned. The type cannot say
so — see the directive below.
pages_fetched: u32How many pages the engine pulled from this source to answer.
Trait Implementations§
Source§impl Clone for SourcePlan
impl Clone for SourcePlan
Source§fn clone(&self) -> SourcePlan
fn clone(&self) -> SourcePlan
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SourcePlan
impl Debug for SourcePlan
Source§impl<'de> Deserialize<'de> for SourcePlan
impl<'de> Deserialize<'de> for SourcePlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for SourcePlan
impl JsonSchema for SourcePlan
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more