pub enum RelationalPlan {
QueryBlock(Box<QueryBlockPlan>),
SetOp {
kind: SetOpKind,
all: bool,
left: Box<QueryPlan>,
right: Box<QueryPlan>,
order_by: Vec<OrderPlan>,
limit: Option<Box<ScalarExpr>>,
with_ties: bool,
offset: Option<Box<ScalarExpr>>,
subqueries: Vec<QueryPlan>,
},
Values {
rows: Vec<Vec<ScalarExpr>>,
subqueries: Vec<QueryPlan>,
},
}Expand description
Relational nodes common to ordinary SQL, retrieval SQL, and table/graph functions.
Variants§
QueryBlock(Box<QueryBlockPlan>)
A single SELECT query block. Its source is a separate plan tree and its compute phase is classified as projection, aggregation, or windowing.
SetOp
SQL set operations own both input plans; combined ordering and slicing are properties of the set node rather than either branch.
Values
Standalone VALUES, used both as a statement and as a relational
source. Each cell remains an expression so parameters/functions bind at
execution time.
Trait Implementations§
Source§impl Clone for RelationalPlan
impl Clone for RelationalPlan
Source§fn clone(&self) -> RelationalPlan
fn clone(&self) -> RelationalPlan
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 RelationalPlan
impl Debug for RelationalPlan
Source§impl<'de> Deserialize<'de> for RelationalPlan
impl<'de> Deserialize<'de> for RelationalPlan
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RelationalPlan
impl RefUnwindSafe for RelationalPlan
impl Send for RelationalPlan
impl Sync for RelationalPlan
impl Unpin for RelationalPlan
impl UnsafeUnpin for RelationalPlan
impl UnwindSafe for RelationalPlan
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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