Struct proof_of_sql::sql::transform::GroupByExpr
source · pub struct GroupByExpr { /* private fields */ }
Expand description
A group by expression
Implementations§
source§impl GroupByExpr
impl GroupByExpr
sourcepub fn new(by_ids: &[Identifier], aliased_exprs: &[AliasedResultExpr]) -> Self
pub fn new(by_ids: &[Identifier], aliased_exprs: &[AliasedResultExpr]) -> Self
Create a new group by expression containing the group by and aggregation expressions
Trait Implementations§
source§impl Debug for GroupByExpr
impl Debug for GroupByExpr
source§impl<'de> Deserialize<'de> for GroupByExpr
impl<'de> Deserialize<'de> for GroupByExpr
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 DynPartialEq for GroupByExpr
impl DynPartialEq for GroupByExpr
source§impl PartialEq for GroupByExpr
impl PartialEq for GroupByExpr
source§fn eq(&self, other: &GroupByExpr) -> bool
fn eq(&self, other: &GroupByExpr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RecordBatchExpr for GroupByExpr
impl RecordBatchExpr for GroupByExpr
source§fn apply_transformation(&self, record_batch: RecordBatch) -> Option<RecordBatch>
fn apply_transformation(&self, record_batch: RecordBatch) -> Option<RecordBatch>
Apply the transformation to the
RecordBatch
and return the result.source§impl Serialize for GroupByExpr
impl Serialize 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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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