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

OdbcConnectionBackend()

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

bulkInsertParallel(int poolId, String table, List<String> columns, Uint8List dataBuffer, int parallelism) → int
Performs parallel bulk insert using a pool.
catalogColumns(int connectionId, String table, {int? initialBufferBytes, int? maxBufferBytes}) → Uint8List?
Queries the database catalog for column information.
catalogForeignKeys(int connectionId, String table, {int? initialBufferBytes, int? maxBufferBytes}) → Uint8List?
Queries the database catalog for foreign key information.
catalogIndexes(int connectionId, String table, {int? initialBufferBytes, int? maxBufferBytes}) → Uint8List?
Queries the database catalog for index information.
catalogPrimaryKeys(int connectionId, String table, {int? initialBufferBytes, int? maxBufferBytes}) → Uint8List?
Queries the database catalog for primary key information.
catalogTables(int connectionId, {String catalog = '', String schema = '', int? initialBufferBytes, int? maxBufferBytes}) → Uint8List?
Queries the database catalog for table information.
catalogTypeInfo(int connectionId, {int? initialBufferBytes, int? maxBufferBytes}) → Uint8List?
Queries the database catalog for data type information.
clearAllStatements() → int
Clears all prepared statements.
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, int timeoutOverrideMs, int fetchSize, {int? maxBufferBytes, int? initialBufferBytes}) → Uint8List?
Executes a prepared statement with optional parameters.
getCacheMetrics() → PreparedStatementMetrics?
Gets prepared statement metrics.
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.
poolSetSize(int poolId, int newMaxSize) → bool
Resizes the pool by recreating it with newMaxSize.
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