Portable provides an alternative serialization method.
Namespace: Hazelcast.IO.Serialization
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.1
Syntax
The IPortable type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | GetClassId | Returns class identifier for this portable class. |
![]() | GetFactoryId | Returns PortableFactory id for this portable class |
![]() | ReadPortable | Read portable fields using PortableReader |
![]() | WritePortable | Serialize this portable object using PortableWriter |
Remarks
- Support multiversion of the same object type. (See SetPortableVersion(Int32) )
- Fetching individual fields without having to rely on reflection.
- Querying and indexing support without de-serialization and/or reflection.
See Also