LATEST VERSION: 8.2.8 - CHANGELOG
Pivotal GemFire® v8.2

Serializing Data with GemFire PDX Serialization

Serializing Data with GemFire PDX Serialization

PDX is a cross-language data format that can reduce the cost of distributing and serializing your objects. PDX stores data in named fields that you can access individually to avoid the cost of deserializing the entire data object. When you use GemFire PDX serialization with the native client C++ API, you can register a PdxSerializer for the entire cache, implement PDX serialization for each domain object or use automatic PDX serialization by running the pdxautoserializer tool.

You can also set the object preference of the cache to the PdxInstance type, which allows you to access fields of a PDX object without deserializing the entire object.

When using the native client C++ API, you can opt to use PDX autoserialization. The GemFire native client provides a command line tool called pdxautoserializer that will automatically generate C++ code that will PDX serialize the class you want to serialize.