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§
sourcefn 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.