![]() |
GridGain C++
|
Query fields cursor. More...
#include <query_fields_row.h>
Public Member Functions | |
QueryFieldsRow () | |
Default constructor. More... | |
QueryFieldsRow (impl::cache::query::QueryFieldsRowImpl *impl) | |
Constructor. More... | |
bool | HasNext () |
Check whether next entry exists. More... | |
bool | HasNext (IgniteError &err) |
Check whether next entry exists. More... | |
template<typename T > | |
T | GetNext () |
Get next entry. More... | |
template<typename T > | |
T | GetNext (IgniteError &err) |
Get next entry. More... | |
int32_t | GetNextInt8Array (int8_t *dst, int32_t len) |
Get next entry assuming it's an array of 8-byte signed integers. More... | |
bool | IsValid () const |
Check if the instance is valid. More... | |
Query fields cursor.
This class is 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 will be released automatically once all the instances are destructed.
|
inline |
Default constructor.
Constructed instance is not valid and thus can not be used.
|
inline |
Constructor.
Internal method. Should not be used by user.
impl | Implementation. |
|
inline |
Get next entry.
Template argument type should be default-constructable, copy-constructable and assignable. Also BinaryType class template should be specialized for this type.
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.
Template argument type should be default-constructable, copy-constructable and assignable. Also BinaryType class template should be specialized for this type.
This method should only be used on the valid instance.
err | Used to set operation result. |
|
inline |
Get next entry assuming it's an array of 8-byte signed integers.
Maps to "byte[]" type in Java.
This method should only be used on the valid instance.
dst | Array to store data to. |
len | Expected length of array. |
IgniteError | class instance in case of failure. |
|
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.