Kea  1.9.9-git
isc::db::Udt Class Reference

#include <cql_exchange.h>

+ Inheritance diagram for isc::db::Udt:

Public Member Functions

void freeUserType ()
 Frees the underlying container. More...
 
void newUserType ()
 Creates the underlying container. More...
 
 Udt (const CqlConnection &connection, const std::string &name)
 Parameterized constructor. More...
 
 ~Udt ()
 Destructor. More...
 
- Public Member Functions inherited from isc::db::AnyArray
void add (const boost::any &value)
 Add a value at the end of the vector. More...
 
void remove (const size_t &index)
 Remove the void pointer to the data value from a specified position inside the vector. More...
 

Public Attributes

const CassDataType * cass_data_type_
 Internal Cassandra driver object representing a Cassandra data type. More...
 
CassUserType * cass_user_type_
 Internal Cassandra driver object representing a user defined type. More...
 
const CqlConnectionconnection_
 Connection to the Cassandra database. More...
 
const std::string name_
 Name of the UDT in the schema: CREATE TYPE ___ { ... }. More...
 

Detailed Description

Definition at line 61 of file cql_exchange.h.

Constructor & Destructor Documentation

isc::db::Udt::Udt ( const CqlConnection connection,
const std::string &  name 
)

Parameterized constructor.

Udt (user data type) method implementations.

Definition at line 133 of file cql_exchange.cc.

References cass_data_type_, cass_user_type_, connection_, isc_throw, isc::db::CqlConnection::keyspace_meta_, and name_.

isc::db::Udt::~Udt ( )

Destructor.

Todo:
: Need to get back to this issue. This is likely a memory leak.

Definition at line 151 of file cql_exchange.cc.

Member Function Documentation

void isc::db::Udt::freeUserType ( )

Frees the underlying container.

void isc::db::Udt::newUserType ( )

Creates the underlying container.

Member Data Documentation

const CassDataType* isc::db::Udt::cass_data_type_

Internal Cassandra driver object representing a Cassandra data type.

Definition at line 83 of file cql_exchange.h.

Referenced by Udt().

CassUserType* isc::db::Udt::cass_user_type_

Internal Cassandra driver object representing a user defined type.

Definition at line 86 of file cql_exchange.h.

Referenced by Udt().

const CqlConnection& isc::db::Udt::connection_

Connection to the Cassandra database.

Definition at line 76 of file cql_exchange.h.

Referenced by Udt().

const std::string isc::db::Udt::name_

Name of the UDT in the schema: CREATE TYPE ___ { ... }.

Definition at line 79 of file cql_exchange.h.

Referenced by Udt().


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