Apache Ignite C++
|
Query fields cursor. More...
#include <query_fields_cursor.h>
Public Member Functions | |
QueryFieldsCursor () | |
Default constructor. More... | |
QueryFieldsCursor (impl::cache::query::QueryCursorImpl *impl) | |
Constructor. More... | |
bool | HasNext () |
Check whether next entry exists. More... | |
bool | HasNext (IgniteError &err) |
Check whether next entry exists. More... | |
QueryFieldsRow | GetNext () |
Get next entry. More... | |
QueryFieldsRow | GetNext (IgniteError &err) |
Get next entry. More... | |
bool | IsValid () const |
Check if the instance is valid. More... | |
Query fields cursor.
This class implemented as a reference to an implementation so copying of this class instance will only create another reference to the same underlying object. Underlying object released automatically once all the instances are destructed.
|
inline |
Default constructor.
Constructed instance is not valid and thus can not be used as a cursor.
|
inline |
Constructor.
Internal method. Should not be used by user.
impl | Implementation. |
|
inline |
Get next entry.
This method should only be used on the valid instance.
IgniteError | class instance in case of failure. |
|
inline |
Get next entry.
Properly sets error param in case of failure.
This method should only be used on the valid instance.
err | Used to set operation result. |
|
inline |
Check whether next entry exists.
This method should only be used on the valid instance.
IgniteError | class instance in case of failure. |
|
inline |
Check whether next entry exists.
Properly sets error param in case of failure.
This method should only be used on the valid instance.
err | Used to set operation result. |
|
inline |
Check if the instance is valid.
Invalid instance can be returned if some of the previous operations have resulted in a failure. For example invalid instance can be returned by not-throwing version of method in case of error. Invalid instances also often can be created using default constructor.