VMware Tanzu GemFire Native .NET Reference
10.1.5
|
A IPdxReader will be passed to IPdxSerializable.fromData or during deserialization of a PDX. More...
Public Member Functions | |
bool | HasField (String^ fieldName) |
Whether field is available or not. More... | |
bool | IsIdentityField (String^ fieldName) |
Whether field is used as identity field or not. More... | |
array< array< Byte >^> ^ | ReadArrayOfByteArrays (String^ fieldName) |
Read a two-dimenesional signed byte array from the data. More... | |
Boolean | ReadBoolean (String^ fieldName) |
Read a boolean value from the stream. More... | |
array< Boolean > ^ | ReadBooleanArray (String^ fieldName) |
Read a boolean array from the data. More... | |
SByte | ReadByte (String^ fieldName) |
Read a signed byte from the stream. More... | |
array< Byte > ^ | ReadByteArray (String^ fieldName) |
Read a signed byte array from the data. More... | |
Char | ReadChar (String^ fieldName) |
Read a char value from the stream. More... | |
array< Char > ^ | ReadCharArray (String^ fieldName) |
Read a char array from the data. More... | |
System::DateTime | ReadDate (String^ fieldName) |
Read a Date from the data. More... | |
double | ReadDouble (String^ fieldName) |
Read a double precision number from the stream. More... | |
array< double > ^ | ReadDoubleArray (String^ fieldName) |
Read a double array from the data. More... | |
Object ^ | ReadField (String^ fieldName, Type^ type) |
Reads the named field of Type "type" and returns its value. More... | |
float | ReadFloat (String^ fieldName) |
Read a floating point number from the stream. More... | |
array< float > ^ | ReadFloatArray (String^ fieldName) |
Read a float from the data. More... | |
Int32 | ReadInt (String^ fieldName) |
Read a 32-bit integer from the stream. More... | |
array< System::Int32 > ^ | ReadIntArray (String^ fieldName) |
Read a int array from the data. More... | |
Int64 | ReadLong (String^ fieldName) |
Read a 64-bit integer from the stream. More... | |
array< Int64 > ^ | ReadLongArray (String^ fieldName) |
Read a long array from the data. More... | |
Object ^ | ReadObject (String^ fieldName) |
Read a serializable object from the data. More... | |
List< Object^> ^ | ReadObjectArray (String^ fieldName) |
Read a object array from the data. More... | |
short | ReadShort (String^ fieldName) |
Read a 16-bit integer from the stream. More... | |
array< short > ^ | ReadShortArray (String^ fieldName) |
Read a short from the data. More... | |
String ^ | ReadString (String^ fieldName) |
Read a string after java-modified UTF-8 decoding from the stream. More... | |
array< String^> ^ | ReadStringArray (String^ fieldName) |
Read a string array from the data. More... | |
IPdxUnreadFields ^ | ReadUnreadFields () |
To preserve unread data, which get added in new version of type. More... | |
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.
bool Apache::Geode::Client::IPdxReader::HasField | ( | String^ | fieldName | ) |
Whether field is available or not.
fieldName | The name of a member field. |
bool Apache::Geode::Client::IPdxReader::IsIdentityField | ( | String^ | fieldName | ) |
Whether field is used as identity field or not.
fieldName | The name of a member field. |
array<array<Byte>^> ^ Apache::Geode::Client::IPdxReader::ReadArrayOfByteArrays | ( | String^ | fieldName | ) |
Read a two-dimenesional signed byte array from the data.
fieldName | The name of a member field whose value to read. |
Boolean Apache::Geode::Client::IPdxReader::ReadBoolean | ( | String^ | fieldName | ) |
Read a boolean value from the stream.
fieldName | The name of a member field whose value to read. |
array<Boolean> ^ Apache::Geode::Client::IPdxReader::ReadBooleanArray | ( | String^ | fieldName | ) |
Read a boolean array from the data.
fieldName | The name of a member field whose value to read. |
SByte Apache::Geode::Client::IPdxReader::ReadByte | ( | String^ | fieldName | ) |
Read a signed byte from the stream.
fieldName | The name of a member field whose value to read. |
array<Byte> ^ Apache::Geode::Client::IPdxReader::ReadByteArray | ( | String^ | fieldName | ) |
Read a signed byte array from the data.
fieldName | The name of a member field whose value to read. |
Char Apache::Geode::Client::IPdxReader::ReadChar | ( | String^ | fieldName | ) |
Read a char value from the stream.
fieldName | The name of a member field whose value to read. |
array<Char> ^ Apache::Geode::Client::IPdxReader::ReadCharArray | ( | String^ | fieldName | ) |
Read a char array from the data.
fieldName | The name of a member field whose value to read. |
System::DateTime Apache::Geode::Client::IPdxReader::ReadDate | ( | String^ | fieldName | ) |
Read a Date from the data.
fieldName | The name of a member field whose value to read. |
double Apache::Geode::Client::IPdxReader::ReadDouble | ( | String^ | fieldName | ) |
Read a double precision number from the stream.
fieldName | The name of a member field whose value to read. |
array<double> ^ Apache::Geode::Client::IPdxReader::ReadDoubleArray | ( | String^ | fieldName | ) |
Read a double array from the data.
fieldName | The name of a member field whose value to read. |
Object ^ Apache::Geode::Client::IPdxReader::ReadField | ( | String^ | fieldName, |
Type^ | type | ||
) |
Reads the named field of Type "type" and returns its value.
fieldName | The name of a member field. |
type | The type of a member field, which value needs to read. |
float Apache::Geode::Client::IPdxReader::ReadFloat | ( | String^ | fieldName | ) |
Read a floating point number from the stream.
fieldName | The name of a member field whose value to read. |
array<float> ^ Apache::Geode::Client::IPdxReader::ReadFloatArray | ( | String^ | fieldName | ) |
Read a float from the data.
fieldName | The name of a member field whose value to read. |
Int32 Apache::Geode::Client::IPdxReader::ReadInt | ( | String^ | fieldName | ) |
Read a 32-bit integer from the stream.
fieldName | The name of a member field whose value to read. |
array<System::Int32> ^ Apache::Geode::Client::IPdxReader::ReadIntArray | ( | String^ | fieldName | ) |
Read a int array from the data.
fieldName | The name of a member field whose value to read. |
Int64 Apache::Geode::Client::IPdxReader::ReadLong | ( | String^ | fieldName | ) |
Read a 64-bit integer from the stream.
fieldName | The name of a member field whose value to read. |
array<Int64> ^ Apache::Geode::Client::IPdxReader::ReadLongArray | ( | String^ | fieldName | ) |
Read a long array from the data.
fieldName | The name of a member field whose value to read. |
Object ^ Apache::Geode::Client::IPdxReader::ReadObject | ( | String^ | fieldName | ) |
Read a serializable object from the data.
Null objects are handled.
fieldName | The name of a member field whose value to read. |
List<Object^> ^ Apache::Geode::Client::IPdxReader::ReadObjectArray | ( | String^ | fieldName | ) |
Read a object array from the data.
fieldName | The name of a member field whose value to read. |
short Apache::Geode::Client::IPdxReader::ReadShort | ( | String^ | fieldName | ) |
Read a 16-bit integer from the stream.
fieldName | The name of a member field whose value to read. |
array<short> ^ Apache::Geode::Client::IPdxReader::ReadShortArray | ( | String^ | fieldName | ) |
Read a short from the data.
fieldName | The name of a member field whose value to read. |
String ^ Apache::Geode::Client::IPdxReader::ReadString | ( | String^ | fieldName | ) |
Read a string after java-modified UTF-8 decoding from the stream.
fieldName | The name of a member field whose value to read. |
array<String^> ^ Apache::Geode::Client::IPdxReader::ReadStringArray | ( | String^ | fieldName | ) |
Read a string array from the data.
fieldName | The name of a member field whose value to read. |
IPdxUnreadFields ^ Apache::Geode::Client::IPdxReader::ReadUnreadFields | ( | ) |
To preserve unread data, which get added in new version of type.
<return>Unread data.</return>