Couchbase C++ SDK 1.0.1 (rev. 58d46d7)
Loading...
Searching...
No Matches
term_facet Class Reference

A facet that gives the number of occurrences of the most recurring terms in all rows. More...

#include <couchbase/term_facet.hxx>

Inheritance diagram for term_facet:
Inheritance graph

Public Member Functions

 term_facet (std::string field)
 
 term_facet (std::string field, std::uint32_t size)
 
auto encode () const -> encoded_search_facet override
 
- Public Member Functions inherited from search_facet
virtual ~search_facet ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from search_facet
 search_facet (std::string field, std::uint32_t size)
 
 search_facet (std::string field)
 
- Protected Attributes inherited from search_facet
std::string field_
 
std::optional< std::uint32_t > size_ {}
 

Detailed Description

A facet that gives the number of occurrences of the most recurring terms in all rows.

Constructor & Destructor Documentation

◆ term_facet() [1/2]

term_facet ( std::string field)
inlineexplicit

◆ term_facet() [2/2]

term_facet ( std::string field,
std::uint32_t size )
inline

Member Function Documentation

◆ encode()

auto encode ( ) const -> encoded_search_facet
overridevirtual
Returns
encoded representation of the search facet.
Since
1.0.0
Internal
Internal interface

Implements search_facet.


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