| Apache Ignite C++

Public Member Functions | List of all members
ignite::thin::cache::query::QueryFieldsCursor Class Reference

Query fields cursor. More...

`#include <query_fields_cursor.h>`

## Public Member Functions
| QueryFieldsCursor (const common::concurrent::SharedPointer< void > &impl)
| Constructor. More...
bool | HasNext ()
| Check whether next entry exists. More...
QueryFieldsRow | GetNext ()
| Get next entry. More...
const std::vector< std::string > & | GetColumnNames () const
| Get column names. More...

## Detailed Description

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.

## Constructor & Destructor Documentation

## ◆ QueryFieldsCursor()

ignite::thin::cache::query::QueryFieldsCursor::QueryFieldsCursor | ( | const common::concurrent::SharedPointer< void > & | impl | ) |
| explicit

Constructor.

Internal method. Should not be used by user.

Parameters

  impl | Implementation.

## Member Function Documentation

## ◆ GetColumnNames()

const std::vector<std::string>& ignite::thin::cache::query::QueryFieldsCursor::GetColumnNames | ( |  | ) | const

Get column names.

Returns
  Column names.

## ◆ GetNext()

QueryFieldsRow ignite::thin::cache::query::QueryFieldsCursor::GetNext | ( |  | ) |

Get next entry.

Returns
  Next entry.

Exceptions

  IgniteError | class instance in case of failure.

## ◆ HasNext()

bool ignite::thin::cache::query::QueryFieldsCursor::HasNext | ( |  | ) |

Check whether next entry exists.

Returns
  True if next entry exists.

Exceptions

  IgniteError | class instance in case of failure.

The documentation for this class was generated from the following file:

- thin-client/include/ignite/thin/cache/query/query_fields_cursor.h