VMware GemFire Native Client C++ API Reference
|
VMware VMware GemFire Native C++ Reference 10.4.3
|
Loading...
Searching...
No Matches
apache::geode::client::SelectResults Class Referenceabstract
A SelectResults is obtained by executing a Query on the server. More...
#include <SelectResults.hpp>
Inherited by apache::geode::client::CqResults, and apache::geode::client::ResultSet.
Public Types | |
| typedef std::vector< std::shared_ptr< Cacheable > >::iterator | iterator |
Interface of an iterator for SelectResults. | |
Public Member Functions | |
| virtual iterator | begin ()=0 |
Get an iterator pointing to the start of SelectResults. | |
| virtual iterator | end ()=0 |
Get an iterator pointing to the end of SelectResults. | |
| virtual const std::shared_ptr< Serializable > | operator[] (size_t index) const =0 |
| Index operator to directly access an item in the SelectResults. | |
| virtual size_t | size () const =0 |
| Get the size of the SelectResults. | |
Detailed Description
A SelectResults is obtained by executing a Query on the server.
Member Typedef Documentation
◆ iterator
| typedef std::vector<std::shared_ptr<Cacheable>>::iterator apache::geode::client::SelectResults::iterator |
Interface of an iterator for SelectResults.
Member Function Documentation
◆ begin()
|
pure virtual |
Get an iterator pointing to the start of SelectResults.
◆ end()
|
pure virtual |
Get an iterator pointing to the end of SelectResults.
◆ operator[]()
|
pure virtual |
Index operator to directly access an item in the SelectResults.
- Parameters
-
index the index number of the required item.
- Exceptions
-
IllegalArgumentException if the index is out of bounds.
- Returns
- A smart pointer to the item indexed.
◆ size()
|
pure virtual |
Get the size of the SelectResults.
- Returns
- the number of items in the SelectResults.
Apache Geode C++ Cache API Documentation