|
Apache Ignite C++
|
Go to the documentation of this file.
23 #ifndef _IGNITE_CACHE_QUERY_QUERY_FIELDS_CURSOR
24 #define _IGNITE_CACHE_QUERY_QUERY_FIELDS_CURSOR
28 #include <ignite/common/concurrent.h>
33 #include "ignite/impl/cache/query/query_impl.h"
34 #include "ignite/impl/operations.h"
108 impl::cache::query::QueryCursorImpl* impl0 = impl.Get();
111 return impl0->HasNext(err);
115 "Instance is not usable (did you check for error?).");
153 impl::cache::query::QueryCursorImpl* impl0 = impl.Get();
156 return impl0->GetNextRow(err);
160 "Instance is not usable (did you check for error?).");
179 return impl.IsValid();
184 ignite::common::concurrent::SharedPointer<impl::cache::query::QueryCursorImpl> impl;
190 #endif //_IGNITE_CACHE_QUERY_QUERY_FIELDS_CURSOR
Apache Ignite API.
Definition: cache.h:48
QueryFieldsCursor()
Default constructor.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:59
QueryFieldsCursor(impl::cache::query::QueryCursorImpl *impl)
Constructor.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:71
Query fields cursor.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:50
QueryFieldsRow GetNext()
Get next entry.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:130
static const int IGNITE_ERR_GENERIC
Generic Ignite error.
Definition: ignite_error.h:131
QueryFieldsRow GetNext(IgniteError &err)
Get next entry.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:151
bool IsValid() const
Check if the instance is valid.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:177
bool HasNext()
Check whether next entry exists.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:85
static void ThrowIfNeeded(const IgniteError &err)
Throw an error if code is not IGNITE_SUCCESS.
Definition: ignite_error.cpp:27
bool HasNext(IgniteError &err)
Check whether next entry exists.
Definition: core/include/ignite/cache/query/query_fields_cursor.h:106
Query fields cursor.
Definition: core/include/ignite/cache/query/query_fields_row.h:49
Ignite error information.
Definition: ignite_error.h:94