Public Member Functions | Public Attributes | List of all members
soci::db2_statement_backend Struct Reference

#include <soci-db2.h>

Inheritance diagram for soci::db2_statement_backend:
Inheritance graph
[legend]

Public Member Functions

void alloc ()
 
void clean_up ()
 
std::size_t column_size (int col)
 
 db2_statement_backend (db2_session_backend &session)
 
void describe_column (int colNum, data_type &dtype, std::string &columnName)
 
exec_fetch_result execute (int number)
 
exec_fetch_result fetch (int number)
 
long long get_affected_rows ()
 
int get_number_of_rows ()
 
db2_standard_into_type_backendmake_into_type_backend ()
 
db2_standard_use_type_backendmake_use_type_backend ()
 
db2_vector_into_type_backendmake_vector_into_type_backend ()
 
db2_vector_use_type_backendmake_vector_use_type_backend ()
 
void prepare (std::string const &query, details::statement_type eType)
 
int prepare_for_describe ()
 
std::string rewrite_for_procedure_call (std::string const &query)
 
- Public Member Functions inherited from soci::details::statement_backend
 statement_backend ()
 
virtual ~statement_backend ()
 

Public Attributes

bool hasVectorUseElements
 
SQLHANDLE hStmt
 
std::vector< std::string > names
 
SQLUINTEGER numRowsFetched
 
std::string query_
 
db2_session_backendsession_
 
details::db2::binding_method use_binding_method_
 

Additional Inherited Members

- Public Types inherited from soci::details::statement_backend
enum  exec_fetch_result { ef_success, ef_no_data }
 

Detailed Description

Definition at line 174 of file soci-db2.h.

Constructor & Destructor Documentation

db2_statement_backend::db2_statement_backend ( db2_session_backend session)

Definition at line 21 of file backends/db2/statement.cpp.

Member Function Documentation

void db2_statement_backend::alloc ( )
virtual

Implements soci::details::statement_backend.

Definition at line 26 of file backends/db2/statement.cpp.

void db2_statement_backend::clean_up ( )
virtual

Implements soci::details::statement_backend.

Definition at line 36 of file backends/db2/statement.cpp.

std::size_t db2_statement_backend::column_size ( int  col)

Definition at line 281 of file backends/db2/statement.cpp.

void db2_statement_backend::describe_column ( int  colNum,
data_type dtype,
std::string &  columnName 
)
virtual

Implements soci::details::statement_backend.

Definition at line 227 of file backends/db2/statement.cpp.

statement_backend::exec_fetch_result db2_statement_backend::execute ( int  number)
virtual

Implements soci::details::statement_backend.

Definition at line 133 of file backends/db2/statement.cpp.

statement_backend::exec_fetch_result db2_statement_backend::fetch ( int  number)
virtual

Implements soci::details::statement_backend.

Definition at line 169 of file backends/db2/statement.cpp.

long long db2_statement_backend::get_affected_rows ( )
virtual

Implements soci::details::statement_backend.

Definition at line 192 of file backends/db2/statement.cpp.

int db2_statement_backend::get_number_of_rows ( )
virtual

Implements soci::details::statement_backend.

Definition at line 209 of file backends/db2/statement.cpp.

db2_standard_into_type_backend * db2_statement_backend::make_into_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 302 of file backends/db2/statement.cpp.

db2_standard_use_type_backend * db2_statement_backend::make_use_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 307 of file backends/db2/statement.cpp.

db2_vector_into_type_backend * db2_statement_backend::make_vector_into_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 313 of file backends/db2/statement.cpp.

db2_vector_use_type_backend * db2_statement_backend::make_vector_use_type_backend ( )
virtual

Implements soci::details::statement_backend.

Definition at line 318 of file backends/db2/statement.cpp.

void db2_statement_backend::prepare ( std::string const &  query,
details::statement_type  eType 
)
virtual

Implements soci::details::statement_backend.

Definition at line 46 of file backends/db2/statement.cpp.

int db2_statement_backend::prepare_for_describe ( )
virtual

Implements soci::details::statement_backend.

Definition at line 220 of file backends/db2/statement.cpp.

std::string db2_statement_backend::rewrite_for_procedure_call ( std::string const &  query)
virtual

Implements soci::details::statement_backend.

Definition at line 214 of file backends/db2/statement.cpp.

Member Data Documentation

bool soci::db2_statement_backend::hasVectorUseElements

Definition at line 204 of file soci-db2.h.

SQLHANDLE soci::db2_statement_backend::hStmt

Definition at line 201 of file soci-db2.h.

std::vector<std::string> soci::db2_statement_backend::names

Definition at line 203 of file soci-db2.h.

SQLUINTEGER soci::db2_statement_backend::numRowsFetched

Definition at line 205 of file soci-db2.h.

std::string soci::db2_statement_backend::query_

Definition at line 202 of file soci-db2.h.

db2_session_backend& soci::db2_statement_backend::session_

Definition at line 199 of file soci-db2.h.

details::db2::binding_method soci::db2_statement_backend::use_binding_method_

Definition at line 206 of file soci-db2.h.


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


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41