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/13 09:14:00 UTC
[jira] [Created] (IGNITE-18392) Thin 3.0: SQL ResultSet object mapping
Pavel Tupitsyn created IGNITE-18392:
---------------------------------------
Summary: Thin 3.0: SQL ResultSet object mapping
Key: IGNITE-18392
URL: https://issues.apache.org/jira/browse/IGNITE-18392
Project: Ignite
Issue Type: Improvement
Components: platforms, thin client
Reporter: Pavel Tupitsyn
Assignee: Pavel Tupitsyn
Table API provides object mapping capabilities:
{code:c#}
IRecordView<Person> mappedView = Table.GetRecordView<Person>();
Person res = await mappedView.GetAsync(...);
{code}
This is cleaner and more efficient than working with *IgniteTuple*s (less allocations and type casts).
Implement similar functionality for SQL API - see *ISql.ExecuteAsync<T>*.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)