pub trait SkipBatchPredicate: Send + Sync {
// Required methods
fn schema(&self) -> &SchemaRef;
fn evaluate_with_stat_df(&self, df: &DataFrame) -> PolarsResult<Bitmap>;
// Provided method
fn can_skip_batch(
&self,
batch_size: IdxSize,
live_columns: &PlIndexSet<PlSmallStr>,
statistics: PlIndexMap<PlSmallStr, ColumnStatistics>,
) -> PolarsResult<bool> { ... }
}