QueryChainSync

Superclass:
QueryResult
Declared In:

Introduction

Provides the possibility to chain synchronous join() calls after either a query() or join() synchronous call.



Member Functions

getQueryResult
join(Container, std :: string, std :: string)
join(Container, std :: string, std :: string, Container)
join(Container, std :: string, std :: string, Filter)
join(Container, std :: string, std :: string, Filter, Container)

getQueryResult


public

QueryResult getQueryResult();
Discussion

Returns the QueryResult provided to the delegate after the the last query() or join() call.


join(Container, std :: string, std :: string)


public

QueryChainSync join( Container containerToQuery, std::string key1, std::string key2);
Parameters
containerToQuery

The container the join shall be done with.

key1

The key from the previous query on which to perform the join.

key2

The key on objects in \p containerToQuery on which to perform the join

Discussion

Synchronous version of QueryChain::join(Container,std::string,std::string,delegate::JoinDelegatePtr) "QueryChain::query()", and throws an exception, #JoinException, in case of a failed join. \see QueryChain::join(Container,std::string,std::string,delegate::JoinDelegatePtr)

Throws

#JoinException Possible only if current instance of QueryChainSync has been retrieved by a call to any of the following methods:

  • CloudBackend::query(ContainerId)
  • CloudBackend::query(ContainerId,Filter)
  • Container::query()
  • Container::query(Filter)


join(Container, std :: string, std :: string, Container)


public

QueryChainSync join( Container containerToQuery, std::string key1, std::string key2, Container containerForResults);
Parameters
containerForResults

The Container from the previous query, if desired cbe::Item "items" originate from that container.

Discussion

Same as join(Container,std::string,std::string), but with an additional Container parameter \p containerForResults. \see join(Container,std::string,std::string)


join(Container, std :: string, std :: string, Filter)


public

QueryChainSync join( Container containerToQuery, std::string key1, std::string key2, Filter constraints);
Parameters
constraints

A Filter that provides any constraints for the query.

Discussion

Same as join(Container,std::string,std::string), but with an additional Filter parameter \p constraints. \see join(Container,std::string,std::string)


join(Container, std :: string, std :: string, Filter, Container)


public

QueryChainSync join( Container containerToQuery, std::string key1, std::string key2, Filter constraints, Container containerForResults);
Parameters
constraints

A Filter that provides any constraints for the query.

Discussion

Same as join(Container,std::string,std::string,Container), but with an additional Filter parameter \p constraints. \see join(Container,std::string,std::string,Container)


Member Data

JoinException
QueryJoinError

JoinException


public

using JoinException = delegate::JoinDelegate::Exception;
Discussion

\see delegate::JoinDelegate::Exception


QueryJoinError


private

using QueryJoinError = delegate::QueryJoinDelegate::ErrorInfo;
Discussion

\see delegate::JoinDelegate::ErrorInfo