streamQueryColumnar abstract method

Stream<Result<TypedColumnarResult>> streamQueryColumnar(
  1. String connectionId,
  2. String sql, {
  3. int fetchSize = 1000,
  4. int? chunkSize,
})

Batched cursor streaming with columnar v2 wire encoding when the native library exports odbc_stream_start_batched_options (v4.2+). Each chunk is decoded to TypedColumnarResult via toTypedColumnar. On older natives the call transparently falls back to row-major batched streaming.

For a single buffered result with native columnar encoding, use executeQueryColumnarParamValues. streamQueryColumnarNative is an explicit alias of this method on repository extensions.

Implementation

Stream<Result<TypedColumnarResult>> streamQueryColumnar(
  String connectionId,
  String sql, {
  int fetchSize = 1000,
  int? chunkSize,
});