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

Public Member Functions

template<typename... Args>
 multi_predicate (hazelcast_client &client, const Args &... values)
template<typename... Args>
 multi_predicate (const std::string attribute_name, hazelcast_client &client, const Args &... values)
template<typename T>
 multi_predicate (const std::string attribute_name, hazelcast_client &client, const std::vector< T > &values)
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

Detailed Description

Definition at line 58 of file predicates.h.

Constructor & Destructor Documentation

◆ multi_predicate() [1/3]

template<typename... Args>
hazelcast::client::query::multi_predicate::multi_predicate ( hazelcast_client & client,
const Args &... values )
inline

Definition at line 62 of file predicates.h.

63 : base_predicate(client)
64 {
65 out_stream.write<int32_t>(static_cast<int32_t>(sizeof...(values)));
66 out_stream.write_objects(values...);
67 }

◆ multi_predicate() [2/3]

template<typename... Args>
hazelcast::client::query::multi_predicate::multi_predicate ( const std::string attribute_name,
hazelcast_client & client,
const Args &... values )
inline

Definition at line 70 of file predicates.h.

73 : base_predicate(client)
74 {
75 out_stream.write(attribute_name);
76 out_stream.write<int32_t>(static_cast<int32_t>(sizeof...(values)));
77 out_stream.write_objects(values...);
78 }

◆ multi_predicate() [3/3]

template<typename T>
hazelcast::client::query::multi_predicate::multi_predicate ( const std::string attribute_name,
hazelcast_client & client,
const std::vector< T > & values )
inline

Definition at line 81 of file predicates.h.

84 : base_predicate(client)
85 {
86 out_stream.write(attribute_name);
87 out_stream.write<int32_t>(static_cast<int32_t>(values.size()));
88 for (const T& value : values) {
89 out_stream.write_object(value);
90 }
91 }

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