Enum sqlparser::ast::GroupByWithModifier
source · pub enum GroupByWithModifier {
Rollup,
Cube,
Totals,
}Expand description
ClickHouse supports GROUP BY WITH modifiers(includes ROLLUP|CUBE|TOTALS). e.g. GROUP BY year WITH ROLLUP WITH TOTALS
Variants§
Trait Implementations§
source§impl Clone for GroupByWithModifier
impl Clone for GroupByWithModifier
source§fn clone(&self) -> GroupByWithModifier
fn clone(&self) -> GroupByWithModifier
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 GroupByWithModifier
impl Debug for GroupByWithModifier
source§impl<'de> Deserialize<'de> for GroupByWithModifier
impl<'de> Deserialize<'de> for GroupByWithModifier
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
source§impl Display for GroupByWithModifier
impl Display for GroupByWithModifier
source§impl Hash for GroupByWithModifier
impl Hash for GroupByWithModifier
source§impl Ord for GroupByWithModifier
impl Ord for GroupByWithModifier
source§fn cmp(&self, other: &GroupByWithModifier) -> Ordering
fn cmp(&self, other: &GroupByWithModifier) -> 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 GroupByWithModifier
impl PartialEq for GroupByWithModifier
source§fn eq(&self, other: &GroupByWithModifier) -> bool
fn eq(&self, other: &GroupByWithModifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for GroupByWithModifier
impl PartialOrd for GroupByWithModifier
source§fn partial_cmp(&self, other: &GroupByWithModifier) -> Option<Ordering>
fn partial_cmp(&self, other: &GroupByWithModifier) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for GroupByWithModifier
impl Serialize for GroupByWithModifier
source§impl Visit for GroupByWithModifier
impl Visit for GroupByWithModifier
source§impl VisitMut for GroupByWithModifier
impl VisitMut for GroupByWithModifier
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Copy for GroupByWithModifier
impl Eq for GroupByWithModifier
impl StructuralPartialEq for GroupByWithModifier
Auto Trait Implementations§
impl Freeze for GroupByWithModifier
impl RefUnwindSafe for GroupByWithModifier
impl Send for GroupByWithModifier
impl Sync for GroupByWithModifier
impl Unpin for GroupByWithModifier
impl UnwindSafe for GroupByWithModifier
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<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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)