pub trait Strategy {
// Required method
fn infer_change_type(
prev_row_count: usize,
curr_row_count: usize,
prev_outputs: Option<&OwnedRow>,
curr_outputs: &OwnedRow,
) -> Option<RecordType>;
}
Required Methods§
sourcefn infer_change_type(
prev_row_count: usize,
curr_row_count: usize,
prev_outputs: Option<&OwnedRow>,
curr_outputs: &OwnedRow,
) -> Option<RecordType>
fn infer_change_type( prev_row_count: usize, curr_row_count: usize, prev_outputs: Option<&OwnedRow>, curr_outputs: &OwnedRow, ) -> Option<RecordType>
Infer the change type of the aggregation result. Don’t need to take the ownership of
prev_outputs
and curr_outputs
.
Object Safety§
This trait is not object safe.