Enum datafusion::sql::sqlparser::ast::GroupByExpr
source · pub enum GroupByExpr {
All(Vec<GroupByWithModifier>),
Expressions(Vec<Expr>, Vec<GroupByWithModifier>),
}
Variants§
All(Vec<GroupByWithModifier>)
ALL syntax of Snowflake, DuckDB and ClickHouse.
ClickHouse also supports WITH modifiers after GROUP BY ALL and expressions.
Expressions(Vec<Expr>, Vec<GroupByWithModifier>)
Expressions
Trait Implementations§
source§impl Clone for GroupByExpr
impl Clone for GroupByExpr
source§fn clone(&self) -> GroupByExpr
fn clone(&self) -> GroupByExpr
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 GroupByExpr
impl Debug for GroupByExpr
source§impl Display for GroupByExpr
impl Display for GroupByExpr
source§impl Hash for GroupByExpr
impl Hash for GroupByExpr
source§impl Ord for GroupByExpr
impl Ord for GroupByExpr
source§fn cmp(&self, other: &GroupByExpr) -> Ordering
fn cmp(&self, other: &GroupByExpr) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GroupByExpr
impl PartialEq for GroupByExpr
source§impl PartialOrd for GroupByExpr
impl PartialOrd for GroupByExpr
source§impl Visit for GroupByExpr
impl Visit for GroupByExpr
source§impl VisitMut for GroupByExpr
impl VisitMut for GroupByExpr
fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>where
V: VisitorMut,
impl Eq for GroupByExpr
impl StructuralPartialEq for GroupByExpr
Auto Trait Implementations§
impl Freeze for GroupByExpr
impl RefUnwindSafe for GroupByExpr
impl Send for GroupByExpr
impl Sync for GroupByExpr
impl Unpin for GroupByExpr
impl UnwindSafe for GroupByExpr
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.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