Click or drag to resize
IPdxWriter Interface
A IPdxWriter will be passed to IPdxSerializable.toData when it is serializing the domain class. The domain class needs to serialize member fields using this interface. This interface is implemented by Native Client.

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

The IPdxWriter type exposes the following members.

Methods
  NameDescription
Public methodMarkIdentityField
Indicate that the given field name should be included in hashCode and equals checks of this object on a server that is using {@link CacheFactory#setPdxReadSerialized(boolean)} or when a client executes a query on a server. The fields that are marked as identity fields are used to generate the hashCode and equals methods of {@link PdxInstance}. Because of this, the identity fields should themselves either be primatives, or implement hashCode and equals. If no fields are set as identity fields, then all fields will be used in hashCode and equals checks. The identity fields should make marked after they are written using a write* method.
Public methodWriteArrayOfByteArrays
Write an collection to the IPdxWriter.
Public methodWriteBoolean
Write a boolean value to the IPdxWriter.
Public methodWriteBooleanArray
Write an collection to the IPdxWriter.
Public methodWriteByte
Write a byte to the IPdxWriter.
Public methodWriteByteArray
Write an collection to the IPdxWriter.
Public methodWriteChar
Write a char value to the IPdxWriter.
Public methodWriteCharArray
Write an collection to the IPdxWriter.
Public methodWriteDate
Write an collection to the IPdxWriter.
Public methodWriteDouble
Write a double precision real number to the IPdxWriter.
Public methodWriteDoubleArray
Write an collection to the IPdxWriter.
Public methodWriteField
Public methodWriteFloat
Write a float to the IPdxWriter.
Public methodWriteFloatArray
Write an collection to the IPdxWriter.
Public methodWriteInt
Write a 32-bit integer to the IPdxWriter.
Public methodWriteIntArray
Write an collection to the IPdxWriter.
Public methodWriteLong
Write a 64-bit integer to the IPdxWriter.
Public methodWriteLongArray
Write an collection to the IPdxWriter.
Public methodWriteObject
Write an Object object to the IPdxWriter.
Public methodWriteObjectArray
Public methodWriteShort
Write a 16-bit integer to the IPdxWriter.
Public methodWriteShortArray
Write an collection to the IPdxWriter.
Public methodWriteString
Write a string using java-modified UTF-8 encoding to IPdxWriter.
Public methodWriteStringArray
Write an collection to the IPdxWriter.
Public methodWriteUnreadFields
To append unread data with updated data.
Top
See Also