use RecordBatch;
use crateResult;
/// Consumer for streaming `RecordBatch` output.
///
/// The engine calls `consume` once per batch and immediately drops the batch
/// afterward. Peak memory is therefore `budget + batch` rather than
/// `sum(all batches)`. See `BoundedExecutor::run_stream`.
/// Collecting consumer that accumulates batches into a `Vec`.
///
/// Used to implement the legacy `run` / `run_bytes` methods via `run_stream`.
;
/// No-op consumer that drops batches immediately.
///
/// Useful for throughput benchmarks with constant memory.
;