Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
search_result Class Reference

Represents result of cluster::search() and scope::search() calls. More...

#include <couchbase/search_result.hxx>

Public Member Functions

 search_result ()
 
 search_result (internal_search_result internal)
 
 ~search_result ()
 
 search_result (const search_result &)=delete
 
search_resultoperator= (const search_result &)=delete
 
 search_result (search_result &&) noexcept
 
search_resultoperator= (search_result &&) noexcept
 
auto meta_data () const -> const search_meta_data &
 Returns the search_meta_data giving access to the additional metadata associated with this search.
 
auto rows () const -> const std::vector< search_row > &
 
auto facets () const -> const std::map< std::string, std::shared_ptr< search_facet_result > > &
 

Detailed Description

Represents result of cluster::search() and scope::search() calls.

Since
1.0.0
Committed
Generally available API and should be preferred in production

Constructor & Destructor Documentation

◆ search_result() [1/4]

◆ search_result() [2/4]

search_result ( internal_search_result internal)
explicit
Since
1.0.0
Volatile
Should not be used in production

◆ ~search_result()

◆ search_result() [3/4]

search_result ( const search_result & )
delete

◆ search_result() [4/4]

search_result ( search_result && )
noexcept

Member Function Documentation

◆ facets()

auto facets ( ) const -> const std::map< std::string, std::shared_ptr< search_facet_result > > &
nodiscard

◆ meta_data()

auto meta_data ( ) const -> const search_meta_data &
nodiscard

Returns the search_meta_data giving access to the additional metadata associated with this search.

Returns
response metadata
Since
1.0.0
Committed
Generally available API and should be preferred in production

◆ operator=() [1/2]

search_result & operator= ( const search_result & )
delete

◆ operator=() [2/2]

search_result & operator= ( search_result && )
noexcept

◆ rows()

auto rows ( ) const -> const std::vector< search_row > &
nodiscard

The documentation for this class was generated from the following file: