Hazelcast C++ Client
Hazelcast C++ Client Library
Loading...
Searching...
No Matches
hazelcast::client::query::greater_less_predicate Class Reference
Inheritance diagram for hazelcast::client::query::greater_less_predicate:

Public Member Functions

template<typename T>
 greater_less_predicate (hazelcast_client &client, const std::string &attribute_name, const T &value, bool is_equal, bool is_less)
Public Member Functions inherited from hazelcast::client::query::base_predicate
 base_predicate (hazelcast_client &client)

Additional Inherited Members

Public Attributes inherited from hazelcast::client::query::base_predicate
serialization::object_data_output out_stream
Protected Member Functions inherited from hazelcast::client::query::named_predicate
 named_predicate (hazelcast_client &client, const std::string &attribute_name)

Detailed Description

Definition at line 165 of file predicates.h.

Constructor & Destructor Documentation

◆ greater_less_predicate()

template<typename T>
hazelcast::client::query::greater_less_predicate::greater_less_predicate ( hazelcast_client & client,
const std::string & attribute_name,
const T & value,
bool is_equal,
bool is_less )
inline
Parameters
attributeNameThe attribute whose value shall be compared to.
Template Parameters
valueThe value to compare
Parameters
equalAllow equal matching
lessIf true, allow "less than" matching otherwise do "greater than" matching

Definition at line 176 of file predicates.h.

181 : named_predicate(client, attribute_name)
182 {
183 out_stream.write_object(value);
184 out_stream.write(is_equal);
185 out_stream.write(is_less);
186 }

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