As the ultimate goal of this project is to improve performance, we should also implement a performance test that targets this API.
We can add this test as a part of workgen, which will require adding a new operation type, the corresponding configurations, and one or more templates that demonstrate the use of this operation type. We should also consider adding a debug option that implements the batch scan operation by using the combination of WT_CURSOR::next followed by WT_CURSOR::get_raw_key_value, so that we can get a direct comparison for how much the batch scan API improves the scan performance.
Alternatively (or additionally), we could implement this inside wtperf.