Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::sql::sqlite::LiteTable Class Reference#include <LiteTable.h>
Inheritance diagram for acdk::sql::sqlite::LiteTable:
List of all members.
Detailed Description
Wrapper for the C Api of SQLite.
Represents a result from a prepared statment In most cases this class will not be used in user code Different to JDBC, internal indeces for columns starts with 0
Constructor & Destructor Documentation
acdk::sql::sqlite::LiteTable::LiteTable |
( |
IN(RLiteDb) |
db, |
|
|
sqlite3_stmt * |
stm |
|
) |
|
|
Member Function Documentation
void acdk::sql::sqlite::LiteTable::bindBlob |
( |
int |
col, |
|
|
IN(RReadByteBuffer) |
buffer |
|
) |
|
|
void acdk::sql::sqlite::LiteTable::bindDouble |
( |
int |
col, |
|
|
double |
val |
|
) |
|
|
void acdk::sql::sqlite::LiteTable::bindInt |
( |
int |
col, |
|
|
int |
val |
|
) |
|
|
void acdk::sql::sqlite::LiteTable::bindLong |
( |
int |
col, |
|
|
jlong |
val |
|
) |
|
|
void acdk::sql::sqlite::LiteTable::bindNull |
( |
int |
col |
) |
|
|
void acdk::sql::sqlite::LiteTable::bindText |
( |
int |
col, |
|
|
IN(RString) |
value |
|
) |
|
|
void acdk::sql::sqlite::LiteTable::checkLastResult |
( |
|
) |
[inline] |
|
int acdk::sql::sqlite::LiteTable::checkResult |
( |
int |
res |
) |
[inline] |
|
void acdk::sql::sqlite::LiteTable::clearParameters |
( |
|
) |
|
|
int acdk::sql::sqlite::LiteTable::colCount |
( |
|
) |
|
|
int acdk::sql::sqlite::LiteTable::curRow |
( |
|
) |
[inline] |
|
bool acdk::sql::sqlite::LiteTable::getBoolean |
( |
int |
col |
) |
|
|
byte acdk::sql::sqlite::LiteTable::getByte |
( |
int |
col |
) |
|
|
RString acdk::sql::sqlite::LiteTable::getColName |
( |
int |
col |
) |
|
|
int acdk::sql::sqlite::LiteTable::getColumnByName |
( |
IN(RString) |
name |
) |
|
|
RString acdk::sql::sqlite::LiteTable::getColumnClassName |
( |
int |
col |
) |
|
|
RLiteDb acdk::sql::sqlite::LiteTable::getDb |
( |
|
) |
[inline] |
|
double acdk::sql::sqlite::LiteTable::getDouble |
( |
int |
col |
) |
|
|
float acdk::sql::sqlite::LiteTable::getFloat |
( |
int |
col |
) |
|
|
int acdk::sql::sqlite::LiteTable::getInt |
( |
int |
col |
) |
|
|
int acdk::sql::sqlite::LiteTable::getLiteType |
( |
int |
col |
) |
|
|
|
returns one of LiteColType
|
jlong acdk::sql::sqlite::LiteTable::getLong |
( |
int |
col |
) |
|
|
bool acdk::sql::sqlite::LiteTable::getNext |
( |
|
) |
|
|
int acdk::sql::sqlite::LiteTable::getParameterCount |
( |
|
) |
|
|
RString acdk::sql::sqlite::LiteTable::getParameterName |
( |
int |
col |
) |
|
|
int acdk::sql::sqlite::LiteTable::getParamterIndexByName |
( |
IN(RString) |
name |
) |
|
|
short acdk::sql::sqlite::LiteTable::getShort |
( |
int |
col |
) |
|
|
int acdk::sql::sqlite::LiteTable::getSqlType |
( |
int |
col |
) |
|
|
RString acdk::sql::sqlite::LiteTable::getSQLTypeName |
( |
int |
col |
) |
|
|
RString acdk::sql::sqlite::LiteTable::getString |
( |
int |
col |
) |
|
|
bool acdk::sql::sqlite::LiteTable::hasNext |
( |
|
) |
[virtual] |
|
virtual void acdk::sql::sqlite::LiteTable::remove |
( |
|
) |
[virtual] |
|
void acdk::sql::sqlite::LiteTable::reset |
( |
|
) |
|
|
bool acdk::sql::sqlite::LiteTable::seek |
( |
int |
rowCount |
) |
|
|
|
-1 before first 0 first 1 - n absolute -2 last -3 after last
|
int acdk::sql::sqlite::LiteTable::seekEnd |
( |
|
) |
|
|
|
returns update to last row index
|
Member Data Documentation
|
how many rows -1 means doesn't know
|
|