Couchbase C++ SDK 1.0.2 (rev. 51f4775)
|
A facet that categorizes rows into numerical ranges (or buckets) provided by the user. More...
#include <couchbase/numeric_range_facet.hxx>
Public Member Functions | |
numeric_range_facet (std::string field, std::vector< numeric_range > ranges) | |
numeric_range_facet (std::string field, std::uint32_t size, std::vector< numeric_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_ {} |
A facet that categorizes rows into numerical ranges (or buckets) provided by the user.
|
inline |
|
inline |
|
nodiscardoverridevirtual |
Implements search_facet.