Struct datafusion_expr::logical_plan::SubqueryAlias
source · #[non_exhaustive]pub struct SubqueryAlias {
pub input: Arc<LogicalPlan>,
pub alias: OwnedTableReference,
pub schema: DFSchemaRef,
}
Expand description
Aliased subquery
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.input: Arc<LogicalPlan>
The incoming logical plan
alias: OwnedTableReference
The alias for the input relation
schema: DFSchemaRef
The schema with qualified field names
Implementations§
source§impl SubqueryAlias
impl SubqueryAlias
pub fn try_new( plan: LogicalPlan, alias: impl Into<OwnedTableReference> ) -> Result<Self>
Trait Implementations§
source§impl Clone for SubqueryAlias
impl Clone for SubqueryAlias
source§fn clone(&self) -> SubqueryAlias
fn clone(&self) -> SubqueryAlias
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Hash for SubqueryAlias
impl Hash for SubqueryAlias
source§impl PartialEq<SubqueryAlias> for SubqueryAlias
impl PartialEq<SubqueryAlias> for SubqueryAlias
source§fn eq(&self, other: &SubqueryAlias) -> bool
fn eq(&self, other: &SubqueryAlias) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SubqueryAlias
impl StructuralEq for SubqueryAlias
impl StructuralPartialEq for SubqueryAlias
Auto Trait Implementations§
impl !RefUnwindSafe for SubqueryAlias
impl Send for SubqueryAlias
impl Sync for SubqueryAlias
impl Unpin for SubqueryAlias
impl !UnwindSafe for SubqueryAlias
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.