Hazelcast C++ Client
Hazelcast C++ Client Library
hazelcast::client::query::between_predicate Class Reference
+ Inheritance diagram for hazelcast::client::query::between_predicate:

Public Member Functions

template<typename FROM_TYPE , typename TO_TYPE >
 between_predicate (hazelcast_client &client, const std::string &attribute_name, const FROM_TYPE &from, const TO_TYPE &to)
 
- 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 149 of file predicates.h.

Constructor & Destructor Documentation

◆ between_predicate()

template<typename FROM_TYPE , typename TO_TYPE >
hazelcast::client::query::between_predicate::between_predicate ( hazelcast_client client,
const std::string &  attribute_name,
const FROM_TYPE &  from,
const TO_TYPE &  to 
)
inline
Parameters
attributeNameThe attribute whose value shall be compared to.
Template Parameters
fromThe starting value to match (start is inclusive).
toThe ending value to match (end is inclusive).

Definition at line 157 of file predicates.h.

159  : named_predicate(client, attribute_name) {
160  out_stream.write_object(to);
161  out_stream.write_object(from);
162  }

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