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::SqlPredicate.
|
pure virtual |
Implemented in hazelcast::client::query::SqlPredicate.
|
pure virtual |
Defines how this class will be read.
reader | ObjectDataInput |
Implemented in hazelcast::client::query::SqlPredicate.
|
pure virtual |
Defines how this class will be written.
writer | ObjectDataOutput |
Implemented in hazelcast::client::query::SqlPredicate.