kexi
KexiDB::pqxxSqlCursor Class Reference
Inheritance diagram for KexiDB::pqxxSqlCursor:

Detailed Description
Definition at line 36 of file pqxxcursor.h.
Public Member Functions | |
virtual | ~pqxxSqlCursor () |
virtual QVariant | value (uint i) |
virtual const char ** | rowData () const |
virtual void | storeCurrentRow (RowData &data) const |
Protected Member Functions | |
pqxxSqlCursor (Connection *conn, const QString &statement=QString::null, uint options=NoOptions) | |
pqxxSqlCursor (Connection *conn, QuerySchema &query, uint options=NoOptions) | |
virtual void | drv_clearServerResult () |
virtual void | drv_appendCurrentRecordToBuffer () |
virtual void | drv_bufferMovePointerNext () |
virtual void | drv_bufferMovePointerPrev () |
virtual void | drv_bufferMovePointerTo (Q_LLONG to) |
virtual bool | drv_open () |
virtual bool | drv_close () |
virtual void | drv_getNextRecord () |
virtual void | drv_getPrevRecord () |
Friends | |
class | pqxxSqlConnection |
Member Function Documentation
|
Stores currently fetched record's values in appropriate place of the buffer. Note for driver developers: This place can be computed using m_at. Do not change value of m_at or any other Cursor members, only change your internal structures like pointer to current row, etc. If your database engine's API function (for record fetching) do not allocates such a space, you want to allocate a space for current record. Otherwise, reuse existing structure, what could be more efficient. All functions like drv_appendCurrentRecordToBuffer() operates on the buffer, i.e. array of stored rows. You are not forced to have any particular fixed structure for buffer item or buffer itself - the structure is internal and only methods like storeCurrentRecord() visible to public. Implements KexiDB::Cursor. Definition at line 394 of file pqxxcursor.cpp. |
|
Moves pointer (that points to the buffer) -- to next item in this buffer. Note for driver developers: probably just execute "your_pointer++" is enough. Implements KexiDB::Cursor. Definition at line 402 of file pqxxcursor.cpp. |
|
Like drv_bufferMovePointerNext() but execute "your_pointer--". Implements KexiDB::Cursor. Definition at line 410 of file pqxxcursor.cpp. |
|
Moves pointer (that points to the buffer) to a new place: at. Implements KexiDB::Cursor. Definition at line 418 of file pqxxcursor.cpp. |
|
Implements KexiDB::Cursor. Definition at line 385 of file pqxxcursor.cpp. |
|
Implements KexiDB::Cursor. Definition at line 131 of file pqxxcursor.cpp. |
|
[PROTOTYPE]
Implements KexiDB::Cursor. Definition at line 341 of file pqxxcursor.cpp. |
|
Puts current record's data into data (makes a deep copy). This have unspecified behaviour if the cursor is not at valid record. Note: For reimplementation in driver's code. Shortly, this method translates a row data from internal representation (probably also used in buffer) to simple public RecordData representation. Implements KexiDB::Cursor. Definition at line 367 of file pqxxcursor.cpp. |
|
Implements KexiDB::Cursor. Definition at line 250 of file pqxxcursor.cpp. |
The documentation for this class was generated from the following files: