Determines whether to close the cursor after the first batch. Defaults to false.
final bool singleBatch;