VMware GemFire Native .NET Reference
9.2.4
|
An immutable template array wrapper that can serve as a distributable object for caching. More...
Inherits Apache::Geode::Client::Serializable.
Public Member Functions | |
virtual IGeodeSerializable ^ | FromData (DataInput^ input) override |
Deserializes the native (C++) object – returns an instance of the Serializable class with the native object wrapped inside. More... | |
virtual void | ToData (DataOutput^ output) override |
Serializes this native (C++) object. More... | |
virtual String ^ | ToString () override |
Return a string representation of the object. More... | |
Static Public Member Functions | |
static | operator Apache::Geode::Client::Serializable^ (array< bool >^ value) |
Implicit conversion operator from an boolean array to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (array< Byte >^ value) |
Implicit conversion operator from an array of bytes to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (array< Char >^ value) |
Implicit conversion operator from a character array to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (array< Double >^ value) |
Implicit conversion operator from a double array to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (array< Single >^ value) |
Implicit conversion operator from a float array to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (array< String^>^ value) |
Implicit conversion operator from a string array to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (array< System::Int16 >^ value) |
Implicit conversion operator from a 16-bit integer array to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (array< System::Int32 >^ value) |
Implicit conversion operator from a 32-bit integer array to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (array< System::Int64 >^ value) |
Implicit conversion operator from a 64-bit integer array to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (bool value) |
Implicit conversion operator from a boolean to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (Byte value) |
Implicit conversion operator from a byte to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (Char value) |
Implicit conversion operator from a character to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (Double value) |
Implicit conversion operator from a double to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (Single value) |
Implicit conversion operator from a float to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (String^ value) |
Implicit conversion operator from a string to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (System::Int16 value) |
Implicit conversion operator from a 16-bit integer to a Serializable . More... | |
static | operator Apache::Geode::Client::Serializable^ (System::Int32 value) |
Implicit conversion operator from a 32-bit integer to a Serializable . More... | |
static | operator Serializable^ (System::Int64 value) |
Implicit conversion operator from a 64-bit integer to a Serializable . More... | |
static void | RegisterPdxSerializer (IPdxSerializer^ pdxSerializer) |
Set the PDX serializer for the cache. More... | |
static void | RegisterPdxType (PdxTypeFactoryMethod^ creationMethod) |
static void | RegisterTypeGeneric (TypeFactoryMethodGeneric^ creationMethod) |
Register an instance factory method for a given type. More... | |
static void | SetPdxTypeMapper (IPdxTypeMapper^ pdxTypeMapper) |
Register an PdxTypeMapper to map the local types to pdx types More... | |
Protected Member Functions | |
CacheableBuiltinArray () | |
Protected constructor More... | |
CacheableBuiltinArray (apache::geode::client::Serializable *nptr) | |
Protected constructor to wrap a native object pointer More... | |
CacheableBuiltinArray (array< TManaged >^ buffer) | |
Allocates a new instance copying from the given array. More... | |
CacheableBuiltinArray (array< TManaged >^ buffer, System::Int32 length) | |
Allocates a new instance copying given length from the start of given array. More... | |
Properties | |
virtual System::UInt32 | ClassId [get] |
Returns the classId of the instance being serialized. More... | |
TManaged | Item [get] |
Returns the value at the given index. More... | |
System::Int32 | Length [get] |
Returns the size of this array. More... | |
array< TManaged >^ | Value [get] |
Returns a copy of the underlying array. More... | |
An immutable template array wrapper that can serve as a distributable object for caching.
|
inlineprotected |
Protected constructor
|
inlineprotected |
Protected constructor to wrap a native object pointer
nativeptr | The native object pointer |
|
inlineprotected |
Allocates a new instance copying from the given array.
This method performs no argument checking which is the responsibility of the caller.
buffer | the array to copy from |
|
inlineprotected |
Allocates a new instance copying given length from the start of given array.
This method performs no argument checking which is the responsibility of the caller.
buffer | the array to copy from |
length | length of array from start to copy |
|
inlineoverridevirtual |
Deserializes the native (C++) object – returns an instance of the Serializable
class with the native object wrapped inside.
input | the DataInput stream to use for reading the object data |
Reimplemented from Apache::Geode::Client::Serializable.
|
staticinherited |
Implicit conversion operator from an boolean array to a Serializable
.
|
staticinherited |
Implicit conversion operator from an array of bytes to a Serializable
.
|
staticinherited |
Implicit conversion operator from a character array to a Serializable
.
|
staticinherited |
Implicit conversion operator from a double array to a Serializable
.
|
staticinherited |
Implicit conversion operator from a float array to a Serializable
.
|
staticinherited |
Implicit conversion operator from a string array to a Serializable
.
|
staticinherited |
Implicit conversion operator from a 16-bit integer array to a Serializable
.
|
staticinherited |
Implicit conversion operator from a 32-bit integer array to a Serializable
.
|
staticinherited |
Implicit conversion operator from a 64-bit integer array to a Serializable
.
|
staticinherited |
Implicit conversion operator from a boolean to a Serializable
.
|
staticinherited |
Implicit conversion operator from a byte to a Serializable
.
|
staticinherited |
Implicit conversion operator from a character to a Serializable
.
|
staticinherited |
Implicit conversion operator from a double to a Serializable
.
|
staticinherited |
Implicit conversion operator from a float to a Serializable
.
|
staticinherited |
Implicit conversion operator from a string to a Serializable
.
|
staticinherited |
Implicit conversion operator from a 16-bit integer to a Serializable
.
|
staticinherited |
Implicit conversion operator from a 32-bit integer to a Serializable
.
|
staticinherited |
Implicit conversion operator from a 64-bit integer to a Serializable
.
|
staticinherited |
Set the PDX serializer for the cache.
If this serializer is set, it will be consulted to see if it can serialize any domain classes which are added to the cache in portable data exchange format.
|
staticinherited |
Register an instance factory method for a given type. This should be used when registering types that implement IPdxSerializable.
creationMethod | the creation function to register |
IllegalArgumentException | if the method is null |
|
staticinherited |
Register an instance factory method for a given type.
This should be used when registering types that implement IGeodeSerializable.
creationMethod | the creation function to register |
IllegalArgumentException | if the method is null |
IllegalStateException | if the typeId has already been registered, or there is an error in registering the type; check Utils::LastError for more information in the latter case. |
|
staticinherited |
Register an PdxTypeMapper to map the local types to pdx types
pdxTypeMapper | Object which implements IPdxTypeMapper interface |
|
inlineoverridevirtual |
Serializes this native (C++) object.
output | the DataOutput object to use for serializing the object |
Reimplemented from Apache::Geode::Client::Serializable.
|
inlineoverridevirtual |
Return a string representation of the object.
It simply returns the string representation of the underlying native object by calling its toString()
function.
Reimplemented from Apache::Geode::Client::Serializable.
|
get |
Returns the classId of the instance being serialized.
This is used by deserialization to determine what instance type to create and deserialize into.
|
get |
Returns the value at the given index.
|
get |
Returns the size of this array.
|
get |
Returns a copy of the underlying array.