InfinispanHotRodC++Client  8.2.0.Alpha1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions
QueryUtils.h File Reference
#include "infinispan/hotrod/Query.h"
#include <tuple>

Go to the source code of this file.

Functions

template<class T >
bool unwrapResults (QueryResponse resp, std::vector< T > &res)
 
template<typename T >
unwrapSingleValue (const WrappedMessage &wm)
 
template<>
std::string unwrapSingleValue< std::string > (const WrappedMessage &wm)
 
template<>
int unwrapSingleValue< int > (const WrappedMessage &wm)
 
template<typename T >
unwrapSingleResult (const QueryResponse &qr)
 
template<typename H , typename... Params>
std::tuple< H, Params...> popTuple (QueryResponse &resp, int &k)
 
template<>
std::tuple< std::string > popTuple< std::string > (QueryResponse &resp, int &k)
 
template<>
std::tuple< int > popTuple< int > (QueryResponse &resp, int &k)
 
template<typename... Params>
bool unwrapProjection (QueryResponse &resp, std::vector< std::tuple< Params...> > &prjRes)
 

Function Documentation

template<typename H , typename... Params>
std::tuple<H, Params...> popTuple ( QueryResponse &  resp,
int &  k 
)
template<>
std::tuple<int> popTuple< int > ( QueryResponse &  resp,
int &  k 
)
template<>
std::tuple<std::string> popTuple< std::string > ( QueryResponse &  resp,
int &  k 
)
template<typename... Params>
bool unwrapProjection ( QueryResponse &  resp,
std::vector< std::tuple< Params...> > &  prjRes 
)
template<class T >
bool unwrapResults ( QueryResponse  resp,
std::vector< T > &  res 
)
template<typename T >
T unwrapSingleResult ( const QueryResponse &  qr)
template<typename T >
T unwrapSingleValue ( const WrappedMessage &  wm)
template<>
int unwrapSingleValue< int > ( const WrappedMessage &  wm)
template<>
std::string unwrapSingleValue< std::string > ( const WrappedMessage &  wm)