Kea  1.9.9-git
cql_exchange.cc File Reference
#include <config.h>
#include <cql/cql_connection.h>
#include <cql/cql_exchange.h>
#include <cql/sql_common.h>
#include <database/db_exceptions.h>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/sequenced_index.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
#include <fstream>
#include <iostream>
#include <map>
#include <string>
#include <utility>
#include <vector>
+ Include dependency graph for cql_exchange.cc:

Go to the source code of this file.

Classes

struct  isc::db::ExchangeDataTypeHash
 a helper structure with a function call operator that returns key value in a format expected by std::hash. More...
 

Namespaces

 isc
 Defines the logger used by the top-level component of kea-dhcp-ddns.
 
 isc::db
 

Macros

#define KEA_CASS_CHECK(cass_error)
 Macro to return directly from caller function. More...
 

Typedefs

typedef std::unordered_map< ExchangeDataType, CqlFunction, ExchangeDataTypeHash > isc::db::CqlFunctionMap
 Defines a type for storing aux. Cassandra functions. More...
 
typedef std::unordered_map< std::type_index, ExchangeDataType > isc::db::AnyTypeMap
 Map types used to determine exchange type. More...
 
typedef std::unordered_map< uint8_t, ExchangeDataType > isc::db::CassTypeMap
 

Functions

ExchangeDataType isc::db::exchangeType (const boost::any &object)
 Determine exchange type based on boost::any type. More...
 
ExchangeDataType isc::db::exchangeType (const CassValueType &type)
 Determine exchange type based on CassValueType. More...
 
std::size_t isc::db::hash_value (const CassValueType &key)
 hash function for CassTypeMap More...
 
CqlBind functions for binding data into Cassandra format for

insertion:

CqlUdtSet functions for binding data into Cassandra format for

insertion of a UDT:

CqlCollectionAppend functions for binding data into Cassandra format

for insertion of a collection:

CqlGet functions for retrieving data of the proper Cassandra format:

Variables

CqlFunctionMap isc::db::CQL_FUNCTIONS
 Functions used to interface with the Cassandra C++ driver. More...
 

Macro Definition Documentation

#define KEA_CASS_CHECK (   cass_error)
Value:
{ \
if (cass_error != CASS_OK) { \
return cass_error; \
} \
}
if(!(yy_init))

Macro to return directly from caller function.

Definition at line 44 of file cql_exchange.cc.