_AdbDriver Struct Reference
AirDBC driver internals. More...
#include <airdbc_drv.h>
Data Fields | |
| const char * | name |
| Driver name. | |
| const char * | param_prefix |
| Native SQL parameter prefix string. | |
| gboolean | param_numsuffix |
| TRUE if native SQL positional parameters are numbered. | |
| AdbConnectionFn | alloc |
| Driver private allocation function. | |
| AdbConnectionFn | open |
| Driver connection open function. | |
| AdbConnectionFn | close |
| Driver connection open function. | |
| AdbConnectionFreeFn | free |
| Driver private disposal function. | |
| AdbConnectionFn | begin |
| Driver transaction begin function. | |
| AdbConnectionFn | commit |
| Driver transaction commit function. | |
| AdbConnectionFn | rollback |
| Driver transaction rollback function. | |
| AdbStatementFn | prepare |
| Driver statement prepare function. | |
| AdbStatementFreeFn | free_stmt |
| Driver private statement disposal function. | |
| AdbExecuteFn | exec |
| Driver statement execution function. | |
| AdbQueryFn | query |
| Driver statement query function. | |
| AdbResultSetFreeFn | free_rs |
| Driver private result set disposal function. | |
| AdbResultSetFn | next |
| Driver result set advance function. | |
| AdbResultSetCountFn | colcount |
| Driver result set column count function. | |
| AdbResultSetNameFn | colname |
| Driver result set column name function. | |
| AdbFetchFn | fetch |
| Driver result set fetch function. | |
Detailed Description
AirDBC driver internals.May be directly accessed by AirDBC drivers. Contains a set of function pointers that define the driver's actions.
Field Documentation
|
|
Driver private allocation function. Called by adb_conn_create() to allow driver to set up driver private information for the connection. |
|
|
Driver connection open function. Called by adb_conn_close() to close the connection to the backend. |
|
|
Driver result set fetch function. May return pointers to driver private information; the AirDBC API specifies that applications should copy data returned from fetch if it must be accessed beyond a call to adb_rs_next(). |
|
|
Driver private disposal function. Called by adb_conn_free() to free driver private information. |
|
|
Driver private result set disposal function. Called by adb_rs_free() to free driver private result set information. |
|
|
Driver private statement disposal function. Called by adb_stmt_free() to free driver private statement information. |
|
|
Driver name. Corresponds to the URI scheme which will select this driver. |
|
|
Driver result set advance function. Your driver must be set up to require adb_rs_next() to be called before first fetch (i.e., a next call before a fetch should not skip the first row. |
|
|
Driver connection open function. Called by adb_conn_open() to open the connection to the backend. |
|
|
Native SQL parameter prefix string. Each named prefix in the expression passed to adb_stmt_prepare() will be replaced with a string beginning with this substring. |
|
|
Driver statement prepare function. Called by adb_stmt_prepare() to allow driver to prepare native statement and set up driver private statement information for the statement. |
|
|
Driver statement query function. Called by adb_stmt_query() with a pre-allocated AdbResultSet to allow the driver to execute the query and set up driver private result set information. |
The documentation for this struct was generated from the following file:


