Apache Ignite C++
Public Member Functions | List of all members
ignite::thin::cache::query::QueryFieldsRow Class Reference

Query fields row. More...

#include <query_fields_row.h>

Public Member Functions

 QueryFieldsRow (const common::concurrent::SharedPointer< void > &impl)
 Constructor. More...
 
bool HasNext ()
 Check whether next entry exists. More...
 
template<typename T >
GetNext ()
 Get next entry. More...
 

Detailed Description

Query fields row.

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

◆ QueryFieldsRow()

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

Constructor.

Internal method. Should not be used by user.

Parameters
implImplementation.

Member Function Documentation

◆ GetNext()

template<typename T >
T ignite::thin::cache::query::QueryFieldsRow::GetNext ( )
inline

Get next entry.

Template Parameters
TValue type to get. Should be default-constructable, copy-constructable and assignable. Also BinaryType class template should be specialized for this type.
Returns
Next entry.
Exceptions
IgniteErrorclass instance in case of failure.

◆ HasNext()

bool ignite::thin::cache::query::QueryFieldsRow::HasNext ( )

Check whether next entry exists.

Returns
True if next entry exists.

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