Package org.apache.geode.pdx
package org.apache.geode.pdx
-
ClassDescriptionEvery field of a pdx must have one of these types.JSONFormatter has a static method
JSONFormatter.fromJSON(String, String...)to convert a JSON document into aPdxInstanceand a static methodJSONFormatter.toJSON(PdxInstance)to convert aPdxInstanceinto a JSON Document.This exception will be thrown, when {link @JSONFormatter} is unable to parse the JSON document or {link @PdxInstance}.Thrown if "check-portability" is enabled and an attempt is made to pdx serialize a class that is not portable to non-java platforms.Thrown when a configuration that is now allowed by PDX is detected.Thrown when writing a field if the named field already exists.Thrown when a PDX field does not exist and the current operation requires its existence.Thrown if the type of a PDX field was changed or the wrong type was used.Thrown if the PDX system could not be successfully initialized.PdxInstance provides run time access to the fields of a PDX without deserializing the PDX.PdxInstanceFactory gives you a way to create PdxInstances.A PdxReader will be passed tofromDataorPdxSerializer fromDataby GemFire during deserialization of a PDX.Thrown when an attempt is made to reuse a PDX Type.When a domain class implements PdxSerializable it marks itself as a PDX.Thrown if a problem occurred during serialization or deserialization of a PDX.The PdxSerializer interface allows domain classes to be serialized and deserialized as PDXs without modification of the domain class.Marker interface for an object that GemFire creates and returns fromreadUnreadFields.A PdxWriter will be passed totoDataorPdxSerializer toDataby GemFire when it is serializing the domain class.This class uses Java reflection in conjunction withPdxSerialzerto perform automatic serialization of domain objects.WritablePdxInstance is aPdxInstancethat also supports field modification using thesetFieldmethod.