Hazelcast C++ Client
Hazelcast C++ Client Library
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 131 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 140 of file predicates.h.

142  : named_predicate(client, attribute_name) {
143  out_stream.write_object(value);
144  out_stream.write(is_equal);
145  out_stream.write(is_less);
146  }

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