VMware Tanzu GemFire Native .NET Reference 10.2.7
|
A IPdxWriter will be passed to IPdxSerializable.toData when it is serializing the domain class. More...
#include <IPdxWriter.hpp>
Public Member Functions | |
IPdxWriter ^ | MarkIdentityField (String^ fieldName) |
Indicate that the given field name should be included in hashCode and equals checks of this object on a server that is using CacheFactory#setPdxReadSerialized(boolean) or when a client executes a query on a server. More... | |
IPdxWriter ^ | WriteArrayOfByteArrays (String^ fieldName, array< array< Byte >^>^ byteArrays) |
Write an collection to the IPdxWriter . More... | |
IPdxWriter ^ | WriteBoolean (String^ fieldName, Boolean value) |
Write a boolean value to the IPdxWriter . More... | |
IPdxWriter ^ | WriteBooleanArray (String^ fieldName, array< bool >^ boolArray) |
Write an collection to the IPdxWriter . More... | |
IPdxWriter ^ | WriteByte (String^ fieldName, SByte value) |
Write a byte to the IPdxWriter . More... | |
IPdxWriter ^ | WriteByteArray (String^ fieldName, array< Byte >^ byteArray) |
Write an collection to the IPdxWriter . More... | |
IPdxWriter ^ | WriteChar (String^ fieldName, Char value) |
Write a char value to the IPdxWriter . More... | |
IPdxWriter ^ | WriteCharArray (String^ fieldName, array< Char >^ charArray) |
Write an collection to the IPdxWriter . More... | |
IPdxWriter ^ | WriteDate (String^ fieldName, System::DateTime date) |
Write an collection to the IPdxWriter . More... | |
IPdxWriter ^ | WriteDouble (String^ fieldName, double value) |
Write a double precision real number to the IPdxWriter . More... | |
IPdxWriter ^ | WriteDoubleArray (String^ fieldName, array< double >^ doubleArray) |
Write an collection to the IPdxWriter . More... | |
IPdxWriter ^ | WriteField (String^ fieldName, Object^ fieldValue, Type^ type) |
IPdxWriter ^ | WriteFloat (String^ fieldName, float value) |
Write a float to the IPdxWriter . More... | |
IPdxWriter ^ | WriteFloatArray (String^ fieldName, array< float >^ floatArray) |
Write an collection to the IPdxWriter . More... | |
IPdxWriter ^ | WriteInt (String^ fieldName, Int32 value) |
Write a 32-bit integer to the IPdxWriter . More... | |
IPdxWriter ^ | WriteIntArray (String^ fieldName, array< System::Int32 >^ intArray) |
Write an collection to the IPdxWriter . More... | |
IPdxWriter ^ | WriteLong (String^ fieldName, Int64 value) |
Write a 64-bit integer to the IPdxWriter . More... | |
IPdxWriter ^ | WriteLongArray (String^ fieldName, array< Int64 >^ longArray) |
Write an collection to the IPdxWriter . More... | |
IPdxWriter ^ | WriteObject (String^ fieldName, Object^ obj) |
Write an Object object to the IPdxWriter . More... | |
IPdxWriter ^ | WriteObjectArray (String^ fieldName, List< Object^>^ objectArray) |
Write an collection to the IPdxWriter . More... | |
IPdxWriter ^ | WriteShort (String^ fieldName, Int16 value) |
Write a 16-bit integer to the IPdxWriter . More... | |
IPdxWriter ^ | WriteShortArray (String^ fieldName, array< System::Int16 >^ shortArray) |
Write an collection to the IPdxWriter . More... | |
IPdxWriter ^ | WriteString (String^ fieldName, String^ value) |
Write a string using java-modified UTF-8 encoding to IPdxWriter . More... | |
IPdxWriter ^ | WriteStringArray (String^ fieldName, array< String^>^ stringArray) |
Write an collection to the IPdxWriter . More... | |
IPdxWriter ^ | WriteUnreadFields (IPdxUnreadFields^ unread) |
To append unread data with updated data. More... | |
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.
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::MarkIdentityField | ( | String^ | fieldName | ) |
Indicate that the given field name should be included in hashCode and equals checks of this object on a server that is using 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 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.
fieldName | the name of the field that should be used in the as part of the identity. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteArrayOfByteArrays | ( | String^ | fieldName, |
array< array< Byte >^>^ | byteArrays | ||
) |
Write an collection to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
byteArrays | The byteArrays to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteBoolean | ( | String^ | fieldName, |
Boolean | value | ||
) |
Write a boolean value to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
value | The boolean value to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteBooleanArray | ( | String^ | fieldName, |
array< bool >^ | boolArray | ||
) |
Write an collection to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
boolArray | The boolArray to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteByte | ( | String^ | fieldName, |
SByte | value | ||
) |
Write a byte to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
value | The byte to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteByteArray | ( | String^ | fieldName, |
array< Byte >^ | byteArray | ||
) |
Write an collection to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
byteArray | The byteArray to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteChar | ( | String^ | fieldName, |
Char | value | ||
) |
Write a char value to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
value | The char value to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteCharArray | ( | String^ | fieldName, |
array< Char >^ | charArray | ||
) |
Write an collection to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
charArray | The charArray to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteDate | ( | String^ | fieldName, |
System::DateTime | date | ||
) |
Write an collection to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
date | The date to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteDouble | ( | String^ | fieldName, |
double | value | ||
) |
Write a double precision real number to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
value | The double precision real number to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteDoubleArray | ( | String^ | fieldName, |
array< double >^ | doubleArray | ||
) |
Write an collection to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
doubleArray | The doubleArray to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteField | ( | String^ | fieldName, |
Object^ | fieldValue, | ||
Type^ | type | ||
) |
Writes the named field with the given value and type to the serialized form. This method uses the fieldType
to determine which WriteXXX method it should call. If it can not find a specific match to a writeXXX method it will call .
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteFloat | ( | String^ | fieldName, |
float | value | ||
) |
Write a float to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
value | The float value to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteFloatArray | ( | String^ | fieldName, |
array< float >^ | floatArray | ||
) |
Write an collection to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
floatArray | The floatArray to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteInt | ( | String^ | fieldName, |
Int32 | value | ||
) |
Write a 32-bit integer to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
value | The 32-bit integer to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteIntArray | ( | String^ | fieldName, |
array< System::Int32 >^ | intArray | ||
) |
Write an collection to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
intArray | The intArray to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteLong | ( | String^ | fieldName, |
Int64 | value | ||
) |
Write a 64-bit integer to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
value | The 64-bit integer to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteLongArray | ( | String^ | fieldName, |
array< Int64 >^ | longArray | ||
) |
Write an collection to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
longArray | The longArray to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteObject | ( | String^ | fieldName, |
Object^ | obj | ||
) |
Write an Object
object to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
obj | The object to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteObjectArray | ( | String^ | fieldName, |
List< Object^>^ | objectArray | ||
) |
Write an collection to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
objectArray | The objectArray to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteShort | ( | String^ | fieldName, |
Int16 | value | ||
) |
Write a 16-bit integer to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
value | The 16-bit integer to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteShortArray | ( | String^ | fieldName, |
array< System::Int16 >^ | shortArray | ||
) |
Write an collection to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
shortArray | The shortArray to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteString | ( | String^ | fieldName, |
String^ | value | ||
) |
Write a string using java-modified UTF-8 encoding to IPdxWriter
.
fieldName | The name of the field associated with the value. |
value | The UTF encoded string to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteStringArray | ( | String^ | fieldName, |
array< String^>^ | stringArray | ||
) |
Write an collection to the IPdxWriter
.
fieldName | The name of the field associated with the value. |
stringArray | The stringArray to write. |
IPdxWriter ^ Apache::Geode::Client::IPdxWriter::WriteUnreadFields | ( | IPdxUnreadFields^ | unread | ) |
To append unread data with updated data.