Click or drag to resize
Struct Class

Note: This API is now obsolete.

Encapsulates a row of query struct set.
Inheritance Hierarchy
SystemObject
  [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::Serializable>]
    GemStone.GemFire.CacheSerializable
      GemStone.GemFire.CacheStruct

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public sealed class Struct : Serializable

The Struct type exposes the following members.

Properties
  NameDescription
Public propertyClassId
Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.
(Inherited from Serializable.)
Public propertyItemString
Public propertyItemUInt64
Public propertyLength
Get the number of field values available.
Public propertyObjectSize
return the size of this object in bytes
(Inherited from Serializable.)
Public propertySet
Get the parent StructSet of this Struct.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFromData
Deserializes the native (C++) object -- returns an instance of the Serializable class with the native object wrapped inside.
(Inherited from Serializable.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasNext
Check whether another field value is available to iterate over in this Struct.
Public methodNext
Get the next field value item available in this Struct.
Public methodToData
Serializes this native (C++) object.
(Inherited from Serializable.)
Public methodToString
Return a string representation of the object. It simply returns the string representation of the underlying native object by calling its toString() function.
(Inherited from Serializable.)
Top
Remarks
A Struct has a StructSet as its parent. It contains the field values returned after executing a Query obtained from a QueryService which in turn is obtained from a Cache.
See Also