Click or drag to resize
IPdxReader Interface
A IPdxReader will be passed to IPdxSerializable.fromData or during deserialization of a PDX. The domain class needs to deserialize field members using this interface. This interface is implemented by Native Client. 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.

Namespace: GemStone.GemFire.Cache.Generic
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public interface IPdxReader

The IPdxReader type exposes the following members.

Methods
  NameDescription
Public methodHasField
Whether field is available or not.
Public methodIsIdentityField
Whether field is used as identity field or not.
Public methodReadArrayOfByteArrays
Read a two-dimenesional signed byte array from the data.
Public methodReadBoolean
Read a boolean value from the stream.
Public methodReadBooleanArray
Read a boolean array from the data.
Public methodReadByte
Read a signed byte from the stream.
Public methodReadByteArray
Read a signed byte array from the data.
Public methodReadChar
Read a char value from the stream.
Public methodReadCharArray
Read a char array from the data.
Public methodReadDate
Read a Date from the data.
Public methodReadDouble
Read a double precision number from the stream.
Public methodReadDoubleArray
Read a double array from the data.
Public methodReadField
Reads the named field of Type "type" and returns its value.
Public methodReadFloat
Read a floating point number from the stream.
Public methodReadFloatArray
Read a float from the data.
Public methodReadInt
Read a 32-bit integer from the stream.
Public methodReadIntArray
Read a int array from the data.
Public methodReadLong
Read a 64-bit integer from the stream.
Public methodReadLongArray
Read a long array from the data.
Public methodReadObject
Read a serializable object from the data. Null objects are handled.
Public methodReadObjectArray
Read a object array from the data.
Public methodReadShort
Read a 16-bit integer from the stream.
Public methodReadShortArray
Read a short from the data.
Public methodReadString
Read a string after java-modified UTF-8 decoding from the stream.
Public methodReadStringArray
Read a string array from the data.
Public methodReadUnreadFields
To preserve unread data, which get added in new version of type.
Top
See Also