VMware GemFire Native Client .NET Framework API Reference
|
VMware VMware GemFire Native .NET Reference 10.4.3
|
Loading...
Searching...
No Matches
Apache::Geode::Client::StructSet< TResult > Class Template Reference
Encapsulates a query struct set. More...
#include <StructSet.hpp>
Inherits Apache::Geode::Client::ICqResults< TResult >.
Public Member Functions | |
| virtual System::Collections::Generic::IEnumerator< TResult > ^ | GetEnumerator () |
Returns an enumerator that iterates through the StructSet. | |
| int32_t | GetFieldIndex (String^ fieldName) |
Get the index number of the specified field name in the StructSet. | |
| String ^ | GetFieldName (int32_t index) |
Get the field name of the StructSet from the specified index number. | |
Properties | |
| virtual TResult | Item [get] |
Index operator to directly access an item in the StructSet. | |
| virtual size_t | Size [get] |
The size of the StructSet. | |
Detailed Description
template<class TResult>
class Apache::Geode::Client::StructSet< TResult >
class Apache::Geode::Client::StructSet< TResult >
Encapsulates a query struct set.
Member Function Documentation
◆ GetEnumerator()
template<class TResult >
|
virtual |
◆ GetFieldIndex()
template<class TResult >
| int32_t Apache::Geode::Client::StructSet< TResult >::GetFieldIndex | ( | String^ | fieldName | ) |
Get the index number of the specified field name in the StructSet.
- Parameters
-
fieldName the field name for which the index is required.
- Returns
- the index number of the specified field name.
- Exceptions
-
IllegalArgumentException if the field name is not found.
◆ GetFieldName()
template<class TResult >
| String ^ Apache::Geode::Client::StructSet< TResult >::GetFieldName | ( | int32_t | index | ) |
Get the field name of the StructSet from the specified index number.
- Parameters
-
index the index number of the field name to get.
- Returns
- the field name from the specified index number or null if not found.
Property Documentation
◆ Item
template<class TResult >
|
get |
Index operator to directly access an item in the StructSet.
- Exceptions
-
IllegalArgumentException if the index is out of bounds.
- Returns
- Item at the given index.
◆ Size
template<class TResult >
|
get |
Apache Geode C++ Cache .NET API Documentation