Generate Java source code to do any processing before a batch is consumed by a DataSourceScanExec that does batch processing (e.g.
Generate Java source code to do any processing before a batch is consumed by a DataSourceScanExec that does batch processing (e.g. per-batch optimizations, initializations etc).
Implementations should use this for additional optimizations that can be done at batch level when a batched scan is being done. They should not depend on this being invoked since many scans will not be batched.
Returns true if the given plan returning batches of data can be consumed by this plan.
Generate Java source code to do any processing before return after current row processing i.e.
Generate Java source code to do any processing before return after current row processing i.e. when shouldStop() returns true.