|
Couchbase C++ SDK 1.4.0 (rev. 59aa900)
|
#include <couchbase/scan_result.hxx>
Classes | |
| class | iterator |
An iterator that can be used to iterate through all the scan_result_items. More... | |
Public Member Functions | |
| scan_result ()=default | |
| Constructs an empty scan result. | |
| scan_result (std::shared_ptr< internal_scan_result > internal) | |
| Constructs a scan result from an internal scan result. | |
| void | next (scan_item_handler &&handler) const |
| Fetches the next scan result item. | |
| auto | next () const -> std::future< std::pair< error, std::optional< scan_result_item > > > |
| Fetches the next scan result item. | |
| void | cancel () |
| Cancels the scan. | |
| auto | begin () -> iterator |
| Returns an iterator to the beginning. | |
| auto | end () -> iterator |
| Returns an iterator to the end. | |
|
default |
|
explicit |
Constructs a scan result from an internal scan result.
| internal | the internal scan result |
| auto begin | ( | ) | -> iterator |
Returns an iterator to the beginning.
| void cancel | ( | ) |
| auto end | ( | ) | -> iterator |
Returns an iterator to the end.
| auto next | ( | ) | const -> std::future< std::pair< error, std::optional< scan_result_item > > > |
Fetches the next scan result item.
| void next | ( | scan_item_handler && | handler | ) | const |
Fetches the next scan result item.
| handler | callable that implements scan_handler |