#include <Statement.h>
Inheritance diagram for Statement:
Public Member Functions | |
void | setParsedData (ParsedData *pData) |
void | setDbMgr (DatabaseManager *dbmgr) |
virtual DbRetVal | execute (int &rowsAffected)=0 |
virtual DbRetVal | setParam (int paramNo, void *value)=0 |
virtual DbRetVal | setShortParam (int paramNo, short value)=0 |
virtual DbRetVal | setIntParam (int paramNo, int value)=0 |
virtual DbRetVal | setLongParam (int paramNo, long value)=0 |
virtual DbRetVal | setLongLongParam (int paramNo, long long value)=0 |
virtual DbRetVal | setByteIntParam (int paramNo, ByteInt value)=0 |
virtual DbRetVal | setFloatParam (int paramNo, float value)=0 |
virtual DbRetVal | setDoubleParam (int paramNo, double value)=0 |
virtual DbRetVal | setStringParam (int paramNo, char *value)=0 |
virtual DbRetVal | setDateParam (int paramNo, Date value)=0 |
virtual DbRetVal | setTimeParam (int paramNo, Time value)=0 |
virtual DbRetVal | setTimeStampParam (int paramNo, TimeStamp value)=0 |
virtual DbRetVal | resolve ()=0 |
virtual | ~Statement () |
void | setParsedData (ParsedData *pData) |
void | setDbMgr (DatabaseManager *dbmgr) |
virtual int | noOfParamFields () |
virtual DbRetVal | execute (int &rowsAffected)=0 |
virtual DbRetVal | setParam (int paramNo, void *value)=0 |
virtual DbRetVal | setShortParam (int paramNo, short value)=0 |
virtual DbRetVal | setIntParam (int paramNo, int value)=0 |
virtual DbRetVal | setLongParam (int paramNo, long value)=0 |
virtual DbRetVal | setLongLongParam (int paramNo, long long value)=0 |
virtual DbRetVal | setByteIntParam (int paramNo, ByteInt value)=0 |
virtual DbRetVal | setFloatParam (int paramNo, float value)=0 |
virtual DbRetVal | setDoubleParam (int paramNo, double value)=0 |
virtual DbRetVal | setStringParam (int paramNo, char *value)=0 |
virtual DbRetVal | setDateParam (int paramNo, Date value)=0 |
virtual DbRetVal | setTimeParam (int paramNo, Time value)=0 |
virtual DbRetVal | setTimeStampParam (int paramNo, TimeStamp value)=0 |
virtual DbRetVal | resolve ()=0 |
virtual | ~Statement () |
Protected Attributes | |
ParsedData * | parsedData |
DatabaseManager * | dbMgr |
ParsedData * | parsedData |
DatabaseManager * | dbMgr |
Definition at line 24 of file Statement.h.
virtual Statement::~Statement | ( | ) | [inline, virtual] |
virtual Statement::~Statement | ( | ) | [inline, virtual] |
virtual DbRetVal Statement::execute | ( | int & | rowsAffected | ) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, CreateTblStatement, CreateIdxStatement, DropTblStatement, DropIdxStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, CreateTblStatement, CreateIdxStatement, DropTblStatement, and DropIdxStatement.
virtual DbRetVal Statement::execute | ( | int & | rowsAffected | ) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, CreateTblStatement, CreateIdxStatement, DropTblStatement, DropIdxStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, CreateTblStatement, CreateIdxStatement, DropTblStatement, and DropIdxStatement.
Referenced by SqlStatement::execute().
Here is the caller graph for this function:
virtual int Statement::noOfParamFields | ( | ) | [inline, virtual] |
Reimplemented in DmlStatement, and DmlStatement.
Definition at line 35 of file Statement.h.
Referenced by SqlStatement::noOfParamFields().
Here is the caller graph for this function:
virtual DbRetVal Statement::resolve | ( | ) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, CreateTblStatement, CreateIdxStatement, DropTblStatement, DropIdxStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, CreateTblStatement, CreateIdxStatement, DropTblStatement, and DropIdxStatement.
virtual DbRetVal Statement::resolve | ( | ) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, CreateTblStatement, CreateIdxStatement, DropTblStatement, DropIdxStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, CreateTblStatement, CreateIdxStatement, DropTblStatement, and DropIdxStatement.
Referenced by SqlStatement::prepare().
Here is the caller graph for this function:
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Referenced by SqlStatement::setByteIntParam().
Here is the caller graph for this function:
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Referenced by SqlStatement::setDateParam().
Here is the caller graph for this function:
void Statement::setDbMgr | ( | DatabaseManager * | dbmgr | ) | [inline] |
void Statement::setDbMgr | ( | DatabaseManager * | dbmgr | ) | [inline] |
Definition at line 32 of file Statement.h.
References dbMgr.
Referenced by SqlStatement::prepare().
00032 { dbMgr = dbmgr; }
Here is the caller graph for this function:
virtual DbRetVal Statement::setDoubleParam | ( | int | paramNo, | |
double | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
virtual DbRetVal Statement::setDoubleParam | ( | int | paramNo, | |
double | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Referenced by SqlStatement::setDoubleParam().
Here is the caller graph for this function:
virtual DbRetVal Statement::setFloatParam | ( | int | paramNo, | |
float | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
virtual DbRetVal Statement::setFloatParam | ( | int | paramNo, | |
float | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Referenced by SqlStatement::setFloatParam().
Here is the caller graph for this function:
virtual DbRetVal Statement::setIntParam | ( | int | paramNo, | |
int | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
virtual DbRetVal Statement::setIntParam | ( | int | paramNo, | |
int | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Referenced by SqlStatement::setIntParam().
Here is the caller graph for this function:
virtual DbRetVal Statement::setLongLongParam | ( | int | paramNo, | |
long long | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
virtual DbRetVal Statement::setLongLongParam | ( | int | paramNo, | |
long long | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Referenced by SqlStatement::setLongLongParam().
Here is the caller graph for this function:
virtual DbRetVal Statement::setLongParam | ( | int | paramNo, | |
long | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
virtual DbRetVal Statement::setLongParam | ( | int | paramNo, | |
long | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Referenced by SqlStatement::setLongParam().
Here is the caller graph for this function:
virtual DbRetVal Statement::setParam | ( | int | paramNo, | |
void * | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
virtual DbRetVal Statement::setParam | ( | int | paramNo, | |
void * | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Referenced by SqlStatement::bindParam().
Here is the caller graph for this function:
void Statement::setParsedData | ( | ParsedData * | pData | ) | [inline] |
void Statement::setParsedData | ( | ParsedData * | pData | ) | [inline] |
virtual DbRetVal Statement::setShortParam | ( | int | paramNo, | |
short | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
virtual DbRetVal Statement::setShortParam | ( | int | paramNo, | |
short | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Referenced by SqlStatement::setShortParam().
Here is the caller graph for this function:
virtual DbRetVal Statement::setStringParam | ( | int | paramNo, | |
char * | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
virtual DbRetVal Statement::setStringParam | ( | int | paramNo, | |
char * | value | |||
) | [pure virtual] |
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Referenced by SqlStatement::setStringParam().
Here is the caller graph for this function:
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Referenced by SqlStatement::setTimeParam().
Here is the caller graph for this function:
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Implemented in DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, DdlStatement, DmlStatement, InsStatement, SelStatement, UpdStatement, DelStatement, and DdlStatement.
Referenced by SqlStatement::setTimeStampParam().
Here is the caller graph for this function:
DatabaseManager* Statement::dbMgr [protected] |
Definition at line 28 of file Statement.h.
DatabaseManager* Statement::dbMgr [protected] |
Definition at line 28 of file Statement.h.
Referenced by CreateIdxStatement::CreateIdxStatement(), CreateTblStatement::CreateTblStatement(), DelStatement::DelStatement(), DropIdxStatement::execute(), DropTblStatement::execute(), CreateIdxStatement::execute(), CreateTblStatement::execute(), InsStatement::InsStatement(), UpdStatement::resolve(), SelStatement::resolve(), InsStatement::resolve(), DelStatement::resolve(), SelStatement::SelStatement(), setDbMgr(), UpdStatement::UpdStatement(), DelStatement::~DelStatement(), InsStatement::~InsStatement(), SelStatement::~SelStatement(), and UpdStatement::~UpdStatement().
ParsedData* Statement::parsedData [protected] |
Definition at line 27 of file Statement.h.
ParsedData* Statement::parsedData [protected] |
Definition at line 27 of file Statement.h.
Referenced by CreateIdxStatement::CreateIdxStatement(), CreateTblStatement::CreateTblStatement(), DelStatement::DelStatement(), DropIdxStatement::execute(), DropTblStatement::execute(), CreateIdxStatement::execute(), CreateTblStatement::execute(), SelStatement::getFieldName(), SelStatement::getProjFldInfo(), InsStatement::InsStatement(), UpdStatement::resolve(), SelStatement::resolve(), InsStatement::resolve(), DelStatement::resolve(), CreateTblStatement::resolve(), UpdStatement::resolveForAssignment(), DelStatement::resolveForCondition(), SelStatement::SelStatement(), setParsedData(), and UpdStatement::UpdStatement().