tntdb::replicate::Statement Class Reference

#include <tntdb/replicate/statement.h>

Inheritance diagram for tntdb::replicate::Statement:
tntdb::IStatement cxxtools::SimpleRefCounted

Public Member Functions

 Statement (Connection *conn, const std::string &query, const std::string &limit=std::string(), const std::string &offset=std::string())
void clear ()
void setNull (const std::string &col)
void setBool (const std::string &col, bool data)
void setShort (const std::string &col, short data)
void setInt (const std::string &col, int data)
void setLong (const std::string &col, long data)
void setUnsignedShort (const std::string &col, unsigned short data)
void setUnsigned (const std::string &col, unsigned data)
void setUnsignedLong (const std::string &col, unsigned long data)
void setInt32 (const std::string &col, int32_t data)
void setUnsigned32 (const std::string &col, uint32_t data)
void setInt64 (const std::string &col, int64_t data)
void setUnsigned64 (const std::string &col, uint64_t data)
void setDecimal (const std::string &col, const Decimal &data)
void setFloat (const std::string &col, float data)
void setDouble (const std::string &col, double data)
void setChar (const std::string &col, char data)
void setString (const std::string &col, const std::string &data)
void setBlob (const std::string &col, const Blob &data)
void setDate (const std::string &col, const Date &data)
void setTime (const std::string &col, const Time &data)
void setDatetime (const std::string &col, const Datetime &data)
size_type execute ()
tntdb::Result select ()
tntdb::Row selectRow ()
tntdb::Value selectValue ()
ICursorcreateCursor (unsigned fetchsize)
- Public Member Functions inherited from tntdb::IStatement
virtual void setUString (const std::string &col, const cxxtools::String &data)
- Public Member Functions inherited from cxxtools::SimpleRefCounted
 SimpleRefCounted ()
 SimpleRefCounted (unsigned refs_)
virtual ~SimpleRefCounted ()
virtual unsigned addRef ()
virtual unsigned release ()
unsigned refs () const

Additional Inherited Members

- Public Types inherited from tntdb::IStatement
typedef unsigned size_type

Constructor & Destructor Documentation

tntdb::replicate::Statement::Statement ( Connection conn,
const std::string &  query,
const std::string &  limit = std::string(),
const std::string &  offset = std::string() 
)

Member Function Documentation

void tntdb::replicate::Statement::clear ( )
virtual

Implements tntdb::IStatement.

ICursor* tntdb::replicate::Statement::createCursor ( unsigned  fetchsize)
virtual

Implements tntdb::IStatement.

size_type tntdb::replicate::Statement::execute ( )
virtual

Implements tntdb::IStatement.

tntdb::Result tntdb::replicate::Statement::select ( )
virtual

Implements tntdb::IStatement.

tntdb::Row tntdb::replicate::Statement::selectRow ( )
virtual

Implements tntdb::IStatement.

tntdb::Value tntdb::replicate::Statement::selectValue ( )
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setBlob ( const std::string &  col,
const Blob data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setBool ( const std::string &  col,
bool  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setChar ( const std::string &  col,
char  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setDate ( const std::string &  col,
const Date data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setDatetime ( const std::string &  col,
const Datetime data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setDecimal ( const std::string &  col,
const Decimal data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setDouble ( const std::string &  col,
double  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setFloat ( const std::string &  col,
float  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setInt ( const std::string &  col,
int  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setInt32 ( const std::string &  col,
int32_t  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setInt64 ( const std::string &  col,
int64_t  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setLong ( const std::string &  col,
long  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setNull ( const std::string &  col)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setShort ( const std::string &  col,
short  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setString ( const std::string &  col,
const std::string &  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setTime ( const std::string &  col,
const Time data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setUnsigned ( const std::string &  col,
unsigned  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setUnsigned32 ( const std::string &  col,
uint32_t  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setUnsigned64 ( const std::string &  col,
uint64_t  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setUnsignedLong ( const std::string &  col,
unsigned long  data 
)
virtual

Implements tntdb::IStatement.

void tntdb::replicate::Statement::setUnsignedShort ( const std::string &  col,
unsigned short  data 
)
virtual

Implements tntdb::IStatement.


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