 |
GridGain C++
|
Go to the documentation of this file.
22 #ifndef _IGNITE_CACHE_QUERY_QUERY_FIELDS_ROW
23 #define _IGNITE_CACHE_QUERY_QUERY_FIELDS_ROW
27 #include <ignite/common/concurrent.h>
31 #include "ignite/impl/cache/query/query_fields_row_impl.h"
32 #include "ignite/impl/operations.h"
105 impl::cache::query::QueryFieldsRowImpl* impl0 = impl.Get();
108 return impl0->HasNext();
112 "Instance is not usable (did you check for error?).");
136 T res = GetNext<T>(err);
160 impl::cache::query::QueryFieldsRowImpl* impl0 = impl.Get();
163 return impl0->GetNext<T>(err);
167 "Instance is not usable (did you check for error?).");
190 impl::cache::query::QueryFieldsRowImpl* impl0 = impl.Get();
193 return impl0->GetNextInt8Array(dst, len);
197 "Instance is not usable (did you check for error?).");
214 return impl.IsValid();
219 ignite::common::concurrent::SharedPointer<impl::cache::query::QueryFieldsRowImpl> impl;
225 #endif //_IGNITE_CACHE_QUERY_QUERY_FIELDS_ROW
int32_t GetNextInt8Array(int8_t *dst, int32_t len)
Get next entry assuming it's an array of 8-byte signed integers.
Definition: core/include/ignite/cache/query/query_fields_row.h:188
QueryFieldsRow()
Default constructor.
Definition: core/include/ignite/cache/query/query_fields_row.h:56
Ignite API.
Definition: cache.h:47
T GetNext(IgniteError &err)
Get next entry.
Definition: core/include/ignite/cache/query/query_fields_row.h:158
bool HasNext(IgniteError &err)
Check whether next entry exists.
Definition: core/include/ignite/cache/query/query_fields_row.h:103
QueryFieldsRow(impl::cache::query::QueryFieldsRowImpl *impl)
Constructor.
Definition: core/include/ignite/cache/query/query_fields_row.h:68
T GetNext()
Get next entry.
Definition: core/include/ignite/cache/query/query_fields_row.h:132
bool IsValid() const
Check if the instance is valid.
Definition: core/include/ignite/cache/query/query_fields_row.h:212
static const int IGNITE_ERR_GENERIC
Generic Ignite error.
Definition: ignite_error.h:130
bool HasNext()
Check whether next entry exists.
Definition: core/include/ignite/cache/query/query_fields_row.h:82
static void ThrowIfNeeded(const IgniteError &err)
Throw an error if code is not IGNITE_SUCCESS.
Definition: ignite_error.cpp:26
Query fields cursor.
Definition: core/include/ignite/cache/query/query_fields_row.h:48
Ignite error information.
Definition: ignite_error.h:93