java.lang.Object
org.elasticsearch.compute.operator.Driver
org.elasticsearch.compute.operator.exchange.BatchDriver
All Implemented Interfaces:
Closeable, AutoCloseable, Describable, Releasable

public final class BatchDriver extends Driver
Driver that processes batches on the server side of a BidirectionalBatchExchange. Extends Driver to handle batch-specific logic.

This driver:

  • Reads pages from the client-to-server exchange
  • Executes operators (from factories) on those pages
  • Writes results to the server-to-client exchange
  • Detects batch boundaries from BatchPage
  • Tracks batch state via BatchContext