Hazelcast C++ Client
Public Member Functions | List of all members
hazelcast::client::query::InPredicate< T > Class Template Reference

Type T should be a valid serializable and copiable type. More...

#include <InPredicate.h>

+ Inheritance diagram for hazelcast::client::query::InPredicate< T >:

Public Member Functions

 InPredicate (const char *attributeName, const std::vector< T > &values)
 
void add (const T &value)
 Value to add to the searched values in the query.
 
int getFactoryId () const
 
int getClassId () const
 
void writeData (serialization::ObjectDataOutput &out) const
 Defines how this class will be written. More...
 
void readData (serialization::ObjectDataInput &in)
 Defines how this class will be read. More...
 
- Public Member Functions inherited from hazelcast::client::serialization::IdentifiedDataSerializable
virtual ~IdentifiedDataSerializable ()
 Destructor.
 

Detailed Description

template<typename T>
class hazelcast::client::query::InPredicate< T >

Type T should be a valid serializable and copiable type.

Constructor & Destructor Documentation

template<typename T >
hazelcast::client::query::InPredicate< T >::InPredicate ( const char *  attributeName,
const std::vector< T > &  values 
)
inline
Parameters
attributeNameThe attribute whose value shall be compared to.
Template Parameters
valueThe values to search for

Member Function Documentation

template<typename T >
int hazelcast::client::query::InPredicate< T >::getClassId ( ) const
inlinevirtual
template<typename T >
int hazelcast::client::query::InPredicate< T >::getFactoryId ( ) const
inlinevirtual
template<typename T >
void hazelcast::client::query::InPredicate< T >::readData ( serialization::ObjectDataInput in)
inlinevirtual

Defines how this class will be read.

Parameters
readerObjectDataInput

Implements hazelcast::client::serialization::IdentifiedDataSerializable.

template<typename T >
void hazelcast::client::query::InPredicate< T >::writeData ( serialization::ObjectDataOutput out) const
inlinevirtual

Defines how this class will be written.

Parameters
writerObjectDataOutput

Implements hazelcast::client::serialization::IdentifiedDataSerializable.


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