Couchbase C++ SDK 1.0.2 (rev. 51f4775)
Loading...
Searching...
No Matches
date_range_facet Class Reference

A facet that categorizes rows into dateal ranges (or buckets) provided by the user. More...

#include <couchbase/date_range_facet.hxx>

Inheritance diagram for date_range_facet:
Inheritance graph

Public Member Functions

 date_range_facet (std::string field, std::vector< date_range > ranges)
 
 date_range_facet (std::string field, std::uint32_t size, std::vector< date_range > ranges)
 
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 categorizes rows into dateal ranges (or buckets) provided by the user.

Constructor & Destructor Documentation

◆ date_range_facet() [1/2]

date_range_facet ( std::string field,
std::vector< date_range > ranges )
inline

◆ date_range_facet() [2/2]

date_range_facet ( std::string field,
std::uint32_t size,
std::vector< date_range > ranges )
inline

Member Function Documentation

◆ encode()

auto encode ( ) const -> encoded_search_facet
nodiscardoverridevirtual
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: