A StructSet may be obtained after executing a Query which is obtained from a QueryService which in turn is obtained from a Cache.
More...
Inherits apache::geode::client::CqResults.
A StructSet may be obtained after executing a Query which is obtained from a QueryService which in turn is obtained from a Cache.
It is the parent of a Struct which contains the field values.
◆ iterator
◆ begin()
virtual iterator apache::geode::client::SelectResults::begin |
( |
| ) |
|
|
pure virtualinherited |
◆ end()
virtual iterator apache::geode::client::SelectResults::end |
( |
| ) |
|
|
pure virtualinherited |
◆ getFieldIndex()
virtual int32_t apache::geode::client::StructSet::getFieldIndex |
( |
const std::string & |
fieldname | ) |
|
|
pure virtual |
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
-
std::invalid_argument | if the field name is not found. |
◆ getFieldName()
virtual const std::string& apache::geode::client::StructSet::getFieldName |
( |
int32_t |
index | ) |
|
|
pure virtual |
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 nullptr if not found.
- Exceptions
-
std::out_of_range | if index is not found |
◆ operator[]()
virtual const std::shared_ptr<Serializable> apache::geode::client::SelectResults::operator[] |
( |
size_t |
index | ) |
const |
|
pure virtualinherited |
Index operator to directly access an item in the SelectResults.
- Parameters
-
index | the index number of the required item. |
- Exceptions
-
- Returns
- A smart pointer to the item indexed.
◆ size()
virtual size_t apache::geode::client::SelectResults::size |
( |
| ) |
const |
|
pure virtualinherited |