Kea  1.9.9-git
isc::db::CqlTaggedStatement Struct Reference

Defines a single statement or query. More...

#include <cql_connection.h>

Public Member Functions

 CqlTaggedStatement (StatementTag name, char const *const text)
 Constructor. More...
 
 CqlTaggedStatement (StatementTag name, char const *const text, bool const &is_raw)
 Constructor. More...
 

Public Attributes

bool is_raw_
 Should the statement be executed raw or with binds? More...
 
StatementTag name_
 Short description of the query. More...
 
const CassPrepared * prepared_statement_
 Internal Cassandra object representing the prepared statement. More...
 
char const *const text_
 Text representation of the actual query. More...
 

Detailed Description

Defines a single statement or query.

Definition at line 59 of file cql_connection.h.

Constructor & Destructor Documentation

isc::db::CqlTaggedStatement::CqlTaggedStatement ( StatementTag  name,
char const *const  text 
)
inline

Constructor.

Parameters
namebrief name of the query
texttext (CQL) representation of the query

Definition at line 76 of file cql_connection.h.

isc::db::CqlTaggedStatement::CqlTaggedStatement ( StatementTag  name,
char const *const  text,
bool const &  is_raw 
)
inline

Constructor.

Parameters
namebrief name of the query
texttext (CQL) representation of the query
is_rawshould the statement be executed raw?

Definition at line 84 of file cql_connection.h.

Member Data Documentation

bool isc::db::CqlTaggedStatement::is_raw_

Should the statement be executed raw or with binds?

Definition at line 71 of file cql_connection.h.

Referenced by isc::db::CqlExchange::executeSelect(), and isc::dhcp::CqlLeaseStatsQuery::executeSelect().

const CassPrepared* isc::db::CqlTaggedStatement::prepared_statement_
char const* const isc::db::CqlTaggedStatement::text_

Text representation of the actual query.

Definition at line 65 of file cql_connection.h.

Referenced by isc::db::CqlConnection::prepareStatements().


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