pub struct SelectBuilder { /* private fields */ }
Implementations§
Source§impl SelectBuilder
impl SelectBuilder
pub fn distinct(&mut self, value: Option<Distinct>) -> &mut Self
pub fn top(&mut self, value: Option<Top>) -> &mut Self
pub fn projection(&mut self, value: Vec<SelectItem>) -> &mut Self
pub fn already_projected(&self) -> bool
pub fn into(&mut self, value: Option<SelectInto>) -> &mut Self
pub fn from(&mut self, value: Vec<TableWithJoinsBuilder>) -> &mut Self
pub fn push_from(&mut self, value: TableWithJoinsBuilder) -> &mut Self
pub fn pop_from(&mut self) -> Option<TableWithJoinsBuilder>
pub fn lateral_views(&mut self, value: Vec<LateralView>) -> &mut Self
pub fn selection(&mut self, value: Option<Expr>) -> &mut Self
pub fn group_by(&mut self, value: GroupByExpr) -> &mut Self
pub fn cluster_by(&mut self, value: Vec<Expr>) -> &mut Self
pub fn distribute_by(&mut self, value: Vec<Expr>) -> &mut Self
pub fn sort_by(&mut self, value: Vec<Expr>) -> &mut Self
pub fn having(&mut self, value: Option<Expr>) -> &mut Self
pub fn named_window(&mut self, value: Vec<NamedWindowDefinition>) -> &mut Self
pub fn qualify(&mut self, value: Option<Expr>) -> &mut Self
pub fn value_table_mode(&mut self, value: Option<ValueTableMode>) -> &mut Self
pub fn build(&self) -> Result<Select, BuilderError>
Trait Implementations§
Source§impl Clone for SelectBuilder
impl Clone for SelectBuilder
Source§fn clone(&self) -> SelectBuilder
fn clone(&self) -> SelectBuilder
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 moreAuto Trait Implementations§
impl Freeze for SelectBuilder
impl RefUnwindSafe for SelectBuilder
impl Send for SelectBuilder
impl Sync for SelectBuilder
impl Unpin for SelectBuilder
impl UnwindSafe for SelectBuilder
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§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