Trait proof_of_sql::sql::transform::RecordBatchExpr

source ·
pub trait RecordBatchExpr:
    Debug
    + Send
    + Sync
    + Serialize
    + Deserialize
    + DynPartialEq {
    // Required method
    fn apply_transformation(
        &self,
        record_batch: RecordBatch,
    ) -> Option<RecordBatch>;
}
Expand description

A trait for nodes that can apply transformations to a RecordBatch.

Required Methods§

source

fn apply_transformation(&self, record_batch: RecordBatch) -> Option<RecordBatch>

Apply the transformation to the RecordBatch and return the result.

Trait Implementations§

source§

impl PartialEq<&Box<dyn RecordBatchExpr>> for Box<dyn RecordBatchExpr>

source§

fn eq(&self, other: &&Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq for Box<dyn RecordBatchExpr>

source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'typetag> Serialize for dyn RecordBatchExpr + 'typetag

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'typetag> Serialize for dyn RecordBatchExpr + Send + 'typetag

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'typetag> Serialize for dyn RecordBatchExpr + Send + Sync + 'typetag

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'typetag> Serialize for dyn RecordBatchExpr + Sync + 'typetag

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more

Implementors§