Struct databend_common_ast::ast::SelectStmt
source · pub struct SelectStmt {
pub span: Span,
pub hints: Option<Hint>,
pub distinct: bool,
pub top_n: Option<u64>,
pub select_list: Vec<SelectTarget>,
pub from: Vec<TableReference>,
pub selection: Option<Expr>,
pub group_by: Option<GroupBy>,
pub having: Option<Expr>,
pub window_list: Option<Vec<WindowDefinition>>,
pub qualify: Option<Expr>,
}Expand description
A subquery represented with SELECT statement
Fields§
§span: Span§hints: Option<Hint>§distinct: bool§top_n: Option<u64>§select_list: Vec<SelectTarget>§from: Vec<TableReference>§selection: Option<Expr>§group_by: Option<GroupBy>§having: Option<Expr>§window_list: Option<Vec<WindowDefinition>>§qualify: Option<Expr>Trait Implementations§
source§impl Clone for SelectStmt
impl Clone for SelectStmt
source§fn clone(&self) -> SelectStmt
fn clone(&self) -> SelectStmt
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 Debug for SelectStmt
impl Debug for SelectStmt
source§impl Display for SelectStmt
impl Display for SelectStmt
source§impl DriveMut for SelectStmt
impl DriveMut for SelectStmt
fn drive_mut<V: VisitorMut>(&mut self, visitor: &mut V)
source§impl PartialEq for SelectStmt
impl PartialEq for SelectStmt
impl StructuralPartialEq for SelectStmt
Auto Trait Implementations§
impl Freeze for SelectStmt
impl RefUnwindSafe for SelectStmt
impl Send for SelectStmt
impl Sync for SelectStmt
impl Unpin for SelectStmt
impl UnwindSafe for SelectStmt
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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