Apache Geode Native .NET Reference  1.14.0
Apache::Geode::Client::Struct Class Reference

Encapsulates a row of query struct set. More...

Inherits Apache::Geode::Client::Serializable.

Public Member Functions

virtual String ^ ToString () override
 Return a string representation of the object. More...
 

Properties

int32_t Count [get]
 Get the number of field values available. More...
 
Object^ Item [get]
 Get the field value for the given index number. More...
 
virtual System::UInt64 ObjectSize [get]
 return the size of this object in bytes More...
 
Apache::Geode::Client::StructSet< Object^>^ Set [get]
 Get the parent StructSet of this Struct. More...
 

Detailed Description

Encapsulates a row of query struct set.

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.

Member Function Documentation

◆ ToString()

Property Documentation

◆ Count

int32_t Apache::Geode::Client::Struct::Count
get

Get the number of field values available.

Returns
the number of field values available.

◆ Item

Object Apache::Geode::Client::Struct::Item
get

Get the field value for the given index number.

Get the field value for the given field name.

Returns
The value of the field or null if index is out of bounds.
Returns
The value of the field.
Exceptions
IllegalArgumentExceptionif the field name is not found.

◆ ObjectSize

virtual System:: UInt64 Apache::Geode::Client::Serializable::ObjectSize
getinherited

return the size of this object in bytes

◆ Set

Apache:: Geode:: Client:: StructSet< Object^>^ Apache::Geode::Client::Struct::Set
get

Get the parent StructSet of this Struct.

Returns
A reference to the parent StructSet of this Struct.

Apache Geode C++ Cache .NET API Documentation