 |
GridGain C++
|
Go to the documentation of this file.
22 #ifndef _IGNITE_CACHE_QUERY_QUERY_FIELDS_CURSOR
23 #define _IGNITE_CACHE_QUERY_QUERY_FIELDS_CURSOR
27 #include <ignite/common/concurrent.h>
32 #include "ignite/impl/cache/query/query_impl.h"
33 #include "ignite/impl/operations.h"
107 impl::cache::query::QueryCursorImpl* impl0 = impl.Get();
110 return impl0->HasNext(err);
114 "Instance is not usable (did you check for error?).");
152 impl::cache::query::QueryCursorImpl* impl0 = impl.Get();
155 return impl0->GetNextRow(err);
159 "Instance is not usable (did you check for error?).");
178 return impl.IsValid();
183 ignite::common::concurrent::SharedPointer<impl::cache::query::QueryCursorImpl> impl;
189 #endif //_IGNITE_CACHE_QUERY_QUERY_FIELDS_CURSOR
Ignite API.
Definition: cache.h:47
QueryFieldsCursor()
Default constructor.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:58
QueryFieldsCursor(impl::cache::query::QueryCursorImpl *impl)
Constructor.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:70
Query fields cursor.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:49
QueryFieldsRow GetNext()
Get next entry.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:129
static const int IGNITE_ERR_GENERIC
Generic Ignite error.
Definition: ignite_error.h:130
QueryFieldsRow GetNext(IgniteError &err)
Get next entry.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:150
bool IsValid() const
Check if the instance is valid.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:176
bool HasNext()
Check whether next entry exists.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:84
static void ThrowIfNeeded(const IgniteError &err)
Throw an error if code is not IGNITE_SUCCESS.
Definition: ignite_error.cpp:26
bool HasNext(IgniteError &err)
Check whether next entry exists.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:105
Query fields cursor.
Definition: core/include/ignite/cache/query/query_fields_row.h:48
Ignite error information.
Definition: ignite_error.h:93