Oracle ODB Runtime Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
odb::oracle::select_statement Class Reference
Inheritance diagram for odb::oracle::select_statement:
odb::oracle::statement odb::statement

Public Types

enum  result { success, no_data }
 
- Public Types inherited from odb::oracle::statement
typedef oracle::connection connection_type
 
- Public Types inherited from odb::statement
typedef odb::connection connection_type
 

Public Member Functions

virtual ~select_statement ()
 
 select_statement (connection_type &conn, const std::string &text, bool process_text, bool optimize_text, binding &param, binding &result, std::size_t lob_prefetch_size=0)
 
 select_statement (connection_type &conn, const char *text, bool process_text, bool optimize_text, binding &param, binding &result, std::size_t lob_prefetch_size=0)
 
 select_statement (connection_type &conn, const std::string &text, bool process_text, bool optimize_text, binding &result, std::size_t lob_prefetch_size=0)
 
 select_statement (connection_type &conn, const char *text, bool process_text, bool optimize_text, binding &result, std::size_t lob_prefetch_size=0)
 
void execute ()
 
result fetch ()
 
void stream_result (void *old_base=0, void *new_base=0)
 
void free_result ()
 
- Public Member Functions inherited from odb::oracle::statement
virtual ~statement ()=0
 
OCIStmthandle () const
 
virtual const char * text () const
 
virtual connection_typeconnection ()
 
bool empty () const
 

Additional Inherited Members

- Static Public Member Functions inherited from odb::statement
static void process_insert (const char *statement, const void *const *bind, std::size_t bind_size, std::size_t bind_skip, char param_symbol, std::string &result)
 
static void process_update (const char *statement, const void *const *bind, std::size_t bind_size, std::size_t bind_skip, char param_symbol, std::string &result)
 
static void process_select (const char *statement, const void *const *bind, std::size_t bind_size, std::size_t bind_skip, char quote_open, char quote_close, bool optimize, std::string &result, bool as=true)
 
- Protected Member Functions inherited from odb::oracle::statement
 statement (connection_type &, const std::string &text, statement_kind, const binding *process, bool optimize)
 
 statement (connection_type &, const char *text, statement_kind, const binding *process, bool optimize)
 
ub4 bind_param (bind *, std::size_t count)
 
ub4 bind_result (bind *, std::size_t count, std::size_t lob_prefetch_size=0)
 
void rebind_result (bind *, std::size_t count, std::size_t lob_prefetch_size=0)
 
void stream_result (bind *, std::size_t count, void *old_base=0, void *new_base=0)
 
- Protected Member Functions inherited from odb::statement
 statement ()
 
- Protected Attributes inherited from odb::oracle::statement
connection_typeconn_
 
auto_handle< OCIStmtstmt_
 
unbindudata_
 
std::size_t usize_
 

Member Enumeration Documentation

Enumerator
success 
no_data 

Constructor & Destructor Documentation

virtual odb::oracle::select_statement::~select_statement ( )
virtual
odb::oracle::select_statement::select_statement ( connection_type conn,
const std::string &  text,
bool  process_text,
bool  optimize_text,
binding param,
binding result,
std::size_t  lob_prefetch_size = 0 
)
odb::oracle::select_statement::select_statement ( connection_type conn,
const char *  text,
bool  process_text,
bool  optimize_text,
binding param,
binding result,
std::size_t  lob_prefetch_size = 0 
)
odb::oracle::select_statement::select_statement ( connection_type conn,
const std::string &  text,
bool  process_text,
bool  optimize_text,
binding result,
std::size_t  lob_prefetch_size = 0 
)
odb::oracle::select_statement::select_statement ( connection_type conn,
const char *  text,
bool  process_text,
bool  optimize_text,
binding result,
std::size_t  lob_prefetch_size = 0 
)

Member Function Documentation

void odb::oracle::select_statement::execute ( )
result odb::oracle::select_statement::fetch ( )
void odb::oracle::select_statement::stream_result ( void *  old_base = 0,
void *  new_base = 0 
)
inline
void odb::oracle::select_statement::free_result ( )

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