OdbcConnectionBackend class abstract
Backend interface for low-level ODBC operations.
Defines the contract for transaction management, prepared statement execution, catalog queries, and connection pooling operations. Implementations provide the actual ODBC driver integration.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
catalogColumns(
int connectionId, String table) → Uint8List? - Queries the database catalog for column information.
-
catalogTables(
int connectionId, {String catalog = '', String schema = ''}) → Uint8List? - Queries the database catalog for table information.
-
catalogTypeInfo(
int connectionId) → Uint8List? - Queries the database catalog for data type information.
-
closeStatement(
int stmtId) → bool - Closes and releases a prepared statement.
-
commitTransaction(
int txnId) → bool - Commits a transaction.
-
createSavepoint(
int txnId, String name) → bool - Creates a savepoint within an active transaction.
-
executePrepared(
int stmtId, [List< ParamValue> ? params]) → Uint8List? - Executes a prepared statement with optional parameters.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
poolClose(
int poolId) → bool - Closes the connection pool and releases all connections.
-
poolGetConnection(
int poolId) → int - Gets a connection from the pool.
-
poolGetState(
int poolId) → ({int idle, int size})? - Gets the current state of the connection pool.
-
poolHealthCheck(
int poolId) → bool - Performs a health check on the connection pool.
-
poolReleaseConnection(
int connectionId) → bool - Releases a connection back to the pool.
-
releaseSavepoint(
int txnId, String name) → bool - Releases a savepoint. The transaction remains active.
-
rollbackToSavepoint(
int txnId, String name) → bool - Rolls back to a savepoint. The transaction remains active.
-
rollbackTransaction(
int txnId) → bool - Rolls back a transaction.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited