com.gemstone.gemfire.pdx
Interface PdxReader

public interface PdxReader

A PdxReader will be passed to fromData or
PdxSerializer fromData by GemFire during deserialization of
a PDX. The domain class needs to deserialize field members
using this interface. This interface is implemented by GemFire.
Each readXXX call will return the field's value. If the serialized
PDX does not contain the named field then a default value will
be returned. Standard Java defaults are used. For Objects this is
null and for primitives it is 0 or 0.0.

You must read fields in the same order they were written by PdxWriter.

The methods on this interface are not thread safe so do not
call them concurrently, on the same instance, from more than one thread.

Since:

6.6

Method Summary

boolean

hasField(String fieldName)
Checks if the named field exists and returns the result.