pub enum StreamingEligibility {
Supported {
source_limits: Vec<SourceLimit>,
},
Unsupported {
subject: PlanSubject,
reason: StreamingReason,
},
RequiresMaterialization {
subject: PlanSubject,
bounded_possible: bool,
},
}Expand description
Physical plan compiler and plan node types. Eligibility outcome returned before opening a source.
Variants§
Supported
The compiler can construct a bounded source and per-batch pipeline.
Fields
§
source_limits: Vec<SourceLimit>Unsupported
No streaming implementation exists for this source or operator.
Fields
§
subject: PlanSubjectThe rejected source or operator.
§
reason: StreamingReasonStable reason code.
RequiresMaterialization
The operation is known but needs an explicit bounded materialization algorithm.
Fields
§
subject: PlanSubjectThe rejected operator.
Implementations§
Source§impl StreamingEligibility
impl StreamingEligibility
Sourcepub fn into_result(self) -> Result<Vec<SourceLimit>>
pub fn into_result(self) -> Result<Vec<SourceLimit>>
Convert a non-supported result to its public preflight error.
Trait Implementations§
Source§impl Clone for StreamingEligibility
impl Clone for StreamingEligibility
Source§fn clone(&self) -> StreamingEligibility
fn clone(&self) -> StreamingEligibility
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 moreSource§impl Debug for StreamingEligibility
impl Debug for StreamingEligibility
impl Eq for StreamingEligibility
Source§impl PartialEq for StreamingEligibility
impl PartialEq for StreamingEligibility
impl StructuralPartialEq for StreamingEligibility
Auto Trait Implementations§
impl Freeze for StreamingEligibility
impl RefUnwindSafe for StreamingEligibility
impl Send for StreamingEligibility
impl Sync for StreamingEligibility
impl Unpin for StreamingEligibility
impl UnsafeUnpin for StreamingEligibility
impl UnwindSafe for StreamingEligibility
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.