VMware GemFire Native .NET Reference  9.2.4
Apache::Geode::Client::CacheableInt64Array Class Reference

An immutable wrapper for array of 64-bit integers that can serve as a distributable object for caching. More...

Inherits Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt64Array, apache::geode::client::CacheableInt64ArrayPtr, System::Int64, GeodeClassIds::CacheableInt64Array >.

Static Public Member Functions

static CacheableInt64ArrayCreate (array< System::Int64 >^ value)
 * Static function to create a new instance copying * from the given array. More...
 
static CacheableInt64ArrayCreate (array< System::Int64 >^ value, System::Int32 length)
 * Static function to create a new instance copying * from the given array. More...
 
static IGeodeSerializableCreateDeserializable ()
 * Factory function to register this class. More...
 
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 array< System::Int64 > ^ (CacheableInt64Array ^ value)
 * Explicit conversion operator to contained array type. 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...
 

Properties

virtual System::UInt32 ClassId [get]
 Returns the classId of the instance being serialized. More...
 
System::Int64 Item [get]
 Returns the value at the given index. More...
 
System::Int32 Length [get]
 Returns the size of this array. More...
 
array< System::Int64 >^ Value [get]
 Returns a copy of the underlying array. More...
 

Detailed Description

An immutable wrapper for array of 64-bit integers that can serve as a distributable object for caching.

Member Function Documentation

◆ Create() [1/2]

static CacheableInt64Array ^ Apache::Geode::Client::CacheableInt64Array::Create ( array< System::Int64 >^  value)
inlinestatic

* Static function to create a new instance copying * from the given array.

*

* Providing a null or zero size array will return a null object. *

*

Parameters
valuethe array to create the new instance


◆ Create() [2/2]

static CacheableInt64Array ^ Apache::Geode::Client::CacheableInt64Array::Create ( array< System::Int64 >^  value,
System::Int32  length 
)
inlinestatic

* Static function to create a new instance copying * from the given array.

*

* Providing a null or zero size array will return a null object. *

*

Parameters
valuethe array to create the new instance


◆ CreateDeserializable()

static IGeodeSerializable ^ Apache::Geode::Client::CacheableInt64Array::CreateDeserializable ( )
inlinestatic

* Factory function to register this class.


◆ FromData()

virtual IGeodeSerializable ^ Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt64Array , apache::geode::client::CacheableInt64ArrayPtr , System::Int64 , TYPEID >::FromData ( DataInput input)
inlineoverridevirtualinherited

Deserializes the native (C++) object – returns an instance of the Serializable class with the native object wrapped inside.

Parameters
inputthe DataInput stream to use for reading the object data
Returns
the deserialized object

Reimplemented from Apache::Geode::Client::Serializable.

◆ operator Apache::Geode::Client::Serializable^() [1/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( array< bool >^  value)
staticinherited

Implicit conversion operator from an boolean array to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [2/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( array< Byte >^  value)
staticinherited

Implicit conversion operator from an array of bytes to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [3/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( array< Char >^  value)
staticinherited

Implicit conversion operator from a character array to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [4/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( array< Double >^  value)
staticinherited

Implicit conversion operator from a double array to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [5/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( array< Single >^  value)
staticinherited

Implicit conversion operator from a float array to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [6/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( array< String^>^  value)
staticinherited

Implicit conversion operator from a string array to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [7/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( array< System::Int16 >^  value)
staticinherited

Implicit conversion operator from a 16-bit integer array to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [8/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( array< System::Int32 >^  value)
staticinherited

Implicit conversion operator from a 32-bit integer array to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [9/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( array< System::Int64 >^  value)
staticinherited

Implicit conversion operator from a 64-bit integer array to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [10/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( bool  value)
staticinherited

Implicit conversion operator from a boolean to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [11/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( Byte  value)
staticinherited

Implicit conversion operator from a byte to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [12/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( Char  value)
staticinherited

Implicit conversion operator from a character to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [13/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( Double  value)
staticinherited

Implicit conversion operator from a double to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [14/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( Single  value)
staticinherited

Implicit conversion operator from a float to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [15/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( String^  value)
staticinherited

Implicit conversion operator from a string to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [16/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( System::Int16  value)
staticinherited

Implicit conversion operator from a 16-bit integer to a Serializable.

◆ operator Apache::Geode::Client::Serializable^() [17/17]

static Apache::Geode::Client::Serializable::operator Apache::Geode::Client::Serializable^ ( System::Int32  value)
staticinherited

Implicit conversion operator from a 32-bit integer to a Serializable.

◆ operator array< System::Int64 > ^()

static Apache::Geode::Client::CacheableInt64Array::operator array< System::Int64 > ^ ( CacheableInt64Array value)
inlineexplicitstatic

* Explicit conversion operator to contained array type.


◆ operator Serializable^()

static Apache::Geode::Client::Serializable::operator Serializable^ ( System::Int64  value)
staticinherited

Implicit conversion operator from a 64-bit integer to a Serializable.

◆ RegisterPdxSerializer()

static void Apache::Geode::Client::Serializable::RegisterPdxSerializer ( IPdxSerializer pdxSerializer)
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.

◆ RegisterPdxType()

static void Apache::Geode::Client::Serializable::RegisterPdxType ( PdxTypeFactoryMethod creationMethod)
staticinherited

Register an instance factory method for a given type. This should be used when registering types that implement IPdxSerializable.

Parameters
creationMethodthe creation function to register
Exceptions
IllegalArgumentExceptionif the method is null

◆ RegisterTypeGeneric()

static void Apache::Geode::Client::Serializable::RegisterTypeGeneric ( TypeFactoryMethodGeneric creationMethod)
staticinherited

Register an instance factory method for a given type.

This should be used when registering types that implement IGeodeSerializable.

Parameters
creationMethodthe creation function to register
Exceptions
IllegalArgumentExceptionif the method is null
IllegalStateExceptionif 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.

◆ SetPdxTypeMapper()

static void Apache::Geode::Client::Serializable::SetPdxTypeMapper ( IPdxTypeMapper pdxTypeMapper)
staticinherited

Register an PdxTypeMapper to map the local types to pdx types

Parameters
pdxTypeMapperObject which implements IPdxTypeMapper interface

◆ ToData()

virtual void Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt64Array , apache::geode::client::CacheableInt64ArrayPtr , System::Int64 , TYPEID >::ToData ( DataOutput output)
inlineoverridevirtualinherited

Serializes this native (C++) object.

Parameters
outputthe DataOutput object to use for serializing the object

Reimplemented from Apache::Geode::Client::Serializable.

◆ ToString()

virtual String ^ Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt64Array , apache::geode::client::CacheableInt64ArrayPtr , System::Int64 , TYPEID >::ToString ( )
inlineoverridevirtualinherited

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.

Property Documentation

◆ ClassId

virtual System:: UInt32 Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt64Array , apache::geode::client::CacheableInt64ArrayPtr , System::Int64 , TYPEID >::ClassId
getinherited

Returns the classId of the instance being serialized.

This is used by deserialization to determine what instance type to create and deserialize into.

Returns
the classId

◆ Item

System::Int64 Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt64Array , apache::geode::client::CacheableInt64ArrayPtr , System::Int64 , TYPEID >::Item
getinherited

Returns the value at the given index.

◆ Length

System:: Int32 Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt64Array , apache::geode::client::CacheableInt64ArrayPtr , System::Int64 , TYPEID >::Length
getinherited

Returns the size of this array.

◆ Value

array< System::Int64 >^ Apache::Geode::Client::CacheableBuiltinArray< apache::geode::client::CacheableInt64Array , apache::geode::client::CacheableInt64ArrayPtr , System::Int64 , TYPEID >::Value
getinherited

Returns a copy of the underlying array.


VMware GemFire .NET Cache API Documentation