[
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:
{code:csharp}
Task<IgniteDbDataReader> ExecuteReaderAsync(ITransaction? transaction,
SqlStatement statement, params object?[]? args)
{code}
* *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>*.
was:
Add a new method to `ISql` API:
{code:csharp}
Task<IgniteDbDataReader> ExecuteReaderAsync(ITransaction? transaction,
SqlStatement statement, params object?[]? args)
{code}
* *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:
> {code:csharp}
> Task<IgniteDbDataReader> ExecuteReaderAsync(ITransaction? transaction,
> SqlStatement statement, params object?[]? args)
> {code}
> * *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)