You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2022/12/28 06:43:00 UTC

[jira] [Updated] (IGNITE-18478) .NET: Thin 3.0: Add ExecuteReader to SQL API

     [ https://issues.apache.org/jira/browse/IGNITE-18478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Tupitsyn updated IGNITE-18478:
------------------------------------
    Description: 
Add a new method to `ISql` API:
```
Task<IgniteDbDataReader> ExecuteReaderAsync(ITransaction? transaction, SqlStatement statement, params object?[]? args)
```

* `IgniteDbDataReader` inherits from `System.Data.Common.DbDataReader`, providing a standard interface to work with query results.
* `DbDataReader` API is an efficient way to retrieve query results without object mapping. It can be implemented in a high-performance allocation-free way. This is a good alternative to allocation-heavy `IResultSet<IIgniteTuple>`.

> .NET: Thin 3.0: Add ExecuteReader to SQL API
> --------------------------------------------
>
>                 Key: IGNITE-18478
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18478
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms, thin client
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>             Fix For: 3.0.0-beta2
>
>
> Add a new method to `ISql` API:
> ```
> Task<IgniteDbDataReader> ExecuteReaderAsync(ITransaction? transaction, SqlStatement statement, params object?[]? args)
> ```
> * `IgniteDbDataReader` inherits from `System.Data.Common.DbDataReader`, providing a standard interface to work with query results.
> * `DbDataReader` API is an efficient way to retrieve query results without object mapping. It can be implemented in a high-performance allocation-free way. This is a good alternative to allocation-heavy `IResultSet<IIgniteTuple>`.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)