async_get_unordered_scanners

异步获取一个遍历所有数据的scanner

  1. ///
  2. /// \brief async get a bundle of scanners to iterate all k-v in table
  3. /// scannners return by callback should be deleted when all scan complete
  4. /// \param max_split_count
  5. /// the number of scanners returned will always <= max_split_count
  6. /// \param options
  7. /// which used to indicate scan options, like timeout_milliseconds
  8. /// \param callback; return status and scanner in this callback
  9. ///
  10. virtual void
  11. async_get_unordered_scanners(int max_split_count,
  12. const scan_options &options,
  13. async_get_unordered_scanners_callback_t &&callback) = 0;