StreamQueryRunner class

Row-major and unified streamQuery streaming operations.

Constructors

StreamQueryRunner({required OdbcFfiDispatch ffi, required OdbcRepositoryState state, required OdbcResultParser parser, required OdbcQueryRunner query, required StreamErrorMapper errors})

Properties

ffi OdbcFfiDispatch
final
hashCode int
The hash code for this object.
no setterinherited
parser OdbcResultParser
final
query OdbcQueryRunner
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state OdbcRepositoryState
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
streamingFailureFromException(Exception error) Future<Failure<QueryResult, OdbcError>>
streamNativeQueryWithFallback(int nativeId, String sql, {int? maxBufferBytes, ResultEncoding resultEncoding = ResultEncoding.rowMajor, bool lazyStrings = false, Uint8List? paramsBuffer, int fetchSize = 1000, int chunkSize = 64 * 1024}) Stream<ParsedRowBuffer>
streamQuery(String connectionId, String sql, {int fetchSize = 1000, int? chunkSize}) Stream<Result<QueryResult>>
streamQueryNamed(String connectionId, String sql, Map<String, Object?> namedParams, {int fetchSize = 1000, int? chunkSize}) Stream<Result<QueryResult>>
toString() String
A string representation of this object.
inherited

Operators

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