Classes that will be used with hazelcast data structures like IMap, IQueue etc should either inherit from one of the following classes : Portable , IdentifiedDataSerializable or it should be custom serializable. More...
#include <IdentifiedDataSerializable.h>
Public Member Functions | |
virtual | ~IdentifiedDataSerializable () |
Destructor. | |
virtual int | getFactoryId () const =0 |
virtual int | getClassId () const =0 |
virtual void | writeData (ObjectDataOutput &writer) const =0 |
Defines how this class will be written. More... | |
virtual void | readData (ObjectDataInput &reader)=0 |
Defines how this class will be read. More... | |
Classes that will be used with hazelcast data structures like IMap, IQueue etc should either inherit from one of the following classes : Portable , IdentifiedDataSerializable or it should be custom serializable.
For custom serializable see Serializer
Note that: factoryId and classId of the same class in server side should be consistent with each other.
|
pure virtual |
Implemented in hazelcast::client::query::PagingPredicate< K, V >, hazelcast::client::query::InvalidComparator< K, V >, hazelcast::client::Address, hazelcast::client::query::InPredicate< T >, hazelcast::client::query::GreaterLessPredicate< T >, hazelcast::client::query::BetweenPredicate< T >, hazelcast::client::query::EqualPredicate< T >, hazelcast::client::query::NotEqualPredicate< T >, hazelcast::client::query::NotPredicate, hazelcast::client::query::InstanceOfPredicate, hazelcast::client::query::RegexPredicate, hazelcast::client::query::AndPredicate, hazelcast::client::query::ILikePredicate, hazelcast::client::query::LikePredicate, hazelcast::client::query::OrPredicate, hazelcast::client::query::SqlPredicate, hazelcast::client::query::FalsePredicate, and hazelcast::client::query::TruePredicate.
|
pure virtual |
Implemented in hazelcast::client::query::PagingPredicate< K, V >, hazelcast::client::query::InvalidComparator< K, V >, hazelcast::client::Address, hazelcast::client::query::InPredicate< T >, hazelcast::client::query::GreaterLessPredicate< T >, hazelcast::client::query::BetweenPredicate< T >, hazelcast::client::query::EqualPredicate< T >, hazelcast::client::query::NotEqualPredicate< T >, hazelcast::client::query::NotPredicate, hazelcast::client::query::InstanceOfPredicate, hazelcast::client::query::RegexPredicate, hazelcast::client::query::AndPredicate, hazelcast::client::query::ILikePredicate, hazelcast::client::query::LikePredicate, hazelcast::client::query::OrPredicate, hazelcast::client::query::SqlPredicate, hazelcast::client::query::FalsePredicate, and hazelcast::client::query::TruePredicate.
|
pure virtual |
Defines how this class will be read.
reader | ObjectDataInput |
Implemented in hazelcast::client::query::PagingPredicate< K, V >, hazelcast::client::query::InPredicate< T >, hazelcast::client::query::InvalidComparator< K, V >, hazelcast::client::query::GreaterLessPredicate< T >, hazelcast::client::query::BetweenPredicate< T >, hazelcast::client::query::EqualPredicate< T >, hazelcast::client::query::NotEqualPredicate< T >, hazelcast::client::Address, hazelcast::client::query::NotPredicate, hazelcast::client::query::InstanceOfPredicate, hazelcast::client::query::RegexPredicate, hazelcast::client::query::AndPredicate, hazelcast::client::query::ILikePredicate, hazelcast::client::query::LikePredicate, hazelcast::client::query::OrPredicate, hazelcast::client::query::SqlPredicate, hazelcast::client::query::FalsePredicate, and hazelcast::client::query::TruePredicate.
|
pure virtual |
Defines how this class will be written.
writer | ObjectDataOutput |
Implemented in hazelcast::client::query::PagingPredicate< K, V >, hazelcast::client::query::InvalidComparator< K, V >, hazelcast::client::query::InPredicate< T >, hazelcast::client::Address, hazelcast::client::query::GreaterLessPredicate< T >, hazelcast::client::query::BetweenPredicate< T >, hazelcast::client::query::EqualPredicate< T >, hazelcast::client::query::NotEqualPredicate< T >, hazelcast::client::query::NotPredicate, hazelcast::client::query::InstanceOfPredicate, hazelcast::client::query::RegexPredicate, hazelcast::client::query::AndPredicate, hazelcast::client::query::ILikePredicate, hazelcast::client::query::LikePredicate, hazelcast::client::query::OrPredicate, hazelcast::client::query::SqlPredicate, hazelcast::client::query::FalsePredicate, and hazelcast::client::query::TruePredicate.