IQueryService class abstract interface

Query-shaped operations subset of IOdbcService.

Use this narrower interface in consumers that only need to read or write data — they don't have to depend on transaction, pool, or administrative concerns. The full IOdbcService implements this type, so existing wiring keeps working unchanged.

Members are intentionally a subset; methods that bridge multiple categories (e.g. executeQueryParamBuffer) stay on IOdbcService for now and may be promoted here in a follow-up.

Implementers
Available extensions

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

executeQuery(String sql, {List? params, String? connectionId}) Future<Result<QueryResult>>
executeQueryColumnar(String connectionId, String sql, {List? params}) Future<Result<TypedColumnarResult>>
Column-major opt-in variant of executeQueryParams.
executeQueryColumnarFor(Connection conn, String sql, {List? params}) Future<Result<TypedColumnarResult>>

Available on IQueryService, provided by the IQueryServiceConnectionOverloads extension

executeQueryColumnar overload that accepts a Connection.
executeQueryDirectedParams(String connectionId, String sql, List<DirectedParam> params) Future<Result<QueryResult>>
executeQueryFor(Connection conn, String sql, {List? params}) Future<Result<QueryResult>>

Available on IQueryService, provided by the IQueryServiceConnectionOverloads extension

executeQuery overload that accepts a Connection.
executeQueryNamed(String connectionId, String sql, Map<String, Object?> namedParams) Future<Result<QueryResult>>
executeQueryNamedFor(Connection conn, String sql, Map<String, Object?> namedParams) Future<Result<QueryResult>>

Available on IQueryService, provided by the IQueryServiceConnectionOverloads extension

executeQueryNamed overload that accepts a Connection.
executeQueryParams(String connectionId, String sql, List params, {ResultEncoding resultEncoding = ResultEncoding.rowMajor}) Future<Result<QueryResult>>
executeQueryParamsFor(Connection conn, String sql, List params, {ResultEncoding resultEncoding = ResultEncoding.rowMajor}) Future<Result<QueryResult>>

Available on IQueryService, provided by the IQueryServiceConnectionOverloads extension

executeQueryParams overload that accepts a Connection.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
streamQuery(String connectionId, String sql) Stream<Result<QueryResult>>
streamQueryColumnar(String connectionId, String sql) Stream<Result<TypedColumnarResult>>
Stream-shaped sibling of executeQueryColumnar. Each emitted item is a complete TypedColumnarResult (a single chunk for the named query API; multiple chunks when the underlying engine streams).
streamQueryColumnarFor(Connection conn, String sql) Stream<Result<TypedColumnarResult>>

Available on IQueryService, provided by the IQueryServiceConnectionOverloads extension

streamQueryColumnar overload that accepts a Connection.
streamQueryFor(Connection conn, String sql) Stream<Result<QueryResult>>

Available on IQueryService, provided by the IQueryServiceConnectionOverloads extension

streamQuery overload that accepts a Connection.
streamQueryMulti(String connectionId, String sql) Stream<Result<QueryResultMultiItem>>
streamQueryNamed(String connectionId, String sql, Map<String, Object?> namedParams) Stream<Result<QueryResult>>
streamQueryNamedFor(Connection conn, String sql, Map<String, Object?> namedParams) Stream<Result<QueryResult>>

Available on IQueryService, provided by the IQueryServiceConnectionOverloads extension

streamQueryNamed overload that accepts a Connection.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited