pub enum GroupByWithModifier {
Rollup,
Cube,
Totals,
GroupingSets(Expr),
}Expand description
ClickHouse supports GROUP BY WITH modifiers(includes ROLLUP|CUBE|TOTALS). e.g. GROUP BY year WITH ROLLUP WITH TOTALS
Variants§
Rollup
Cube
Totals
GroupingSets(Expr)
Hive supports GROUP BY GROUPING SETS syntax. e.g. GROUP BY year , month GROUPING SETS((year,month),(year),(month))
Trait Implementations§
Source§impl Clone for GroupByWithModifier
impl Clone for GroupByWithModifier
Source§fn clone(&self) -> GroupByWithModifier
fn clone(&self) -> GroupByWithModifier
Returns a duplicate 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§impl PartialOrd for GroupByWithModifier
impl PartialOrd for GroupByWithModifier
Source§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 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