Struct proof_of_sql::sql::transform::CompositionExpr   
source · pub struct CompositionExpr { /* private fields */ }Expand description
A node representing a list of transformations to be applied to a LazyFrame.
Implementations§
source§impl CompositionExpr
 
impl CompositionExpr
sourcepub fn new(transformation: Box<dyn RecordBatchExpr>) -> Self
 
pub fn new(transformation: Box<dyn RecordBatchExpr>) -> Self
Create a new CompositionExpr node.
sourcepub fn add(&mut self, transformation: Box<dyn RecordBatchExpr>)
 
pub fn add(&mut self, transformation: Box<dyn RecordBatchExpr>)
Append a new transformation to the end of the current CompositionExpr node.
Trait Implementations§
source§impl Debug for CompositionExpr
 
impl Debug for CompositionExpr
source§impl Default for CompositionExpr
 
impl Default for CompositionExpr
source§fn default() -> CompositionExpr
 
fn default() -> CompositionExpr
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CompositionExpr
 
impl<'de> Deserialize<'de> for CompositionExpr
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 CompositionExpr
 
impl DynPartialEq for CompositionExpr
source§impl PartialEq for CompositionExpr
 
impl PartialEq for CompositionExpr
source§fn eq(&self, other: &CompositionExpr) -> bool
 
fn eq(&self, other: &CompositionExpr) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl RecordBatchExpr for CompositionExpr
 
impl RecordBatchExpr for CompositionExpr
source§fn apply_transformation(&self, record_batch: RecordBatch) -> Option<RecordBatch>
 
fn apply_transformation(&self, record_batch: RecordBatch) -> Option<RecordBatch>
Apply the transformations to the RecordBatch.
source§impl Serialize for CompositionExpr
 
impl Serialize for CompositionExpr
impl StructuralPartialEq for CompositionExpr
Auto Trait Implementations§
impl Freeze for CompositionExpr
impl !RefUnwindSafe for CompositionExpr
impl Send for CompositionExpr
impl Sync for CompositionExpr
impl Unpin for CompositionExpr
impl !UnwindSafe for CompositionExpr
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