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 2015/10/06 11:33:27 UTC

[jira] [Comment Edited] (IGNITE-1562) .Net: Remove "Generic" word from "WriteGenericCollection" and "WriteGenericDictionary".

    [ https://issues.apache.org/jira/browse/IGNITE-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944774#comment-14944774 ] 

Pavel  Tupitsyn edited comment on IGNITE-1562 at 10/6/15 9:33 AM:
------------------------------------------------------------------

My point is that WriteArray and WriteCollection methods do not make sense (and they work incorrectly), because depending on element type, there are multiple formats (primitive array, object array, collection, generic collection). Thus in each of these methods we have to select proper handler, the same way we do in the most common WriteObject<T>() method. So we should remove these methods.

First, let's address generic type loss (IGNITE-1619), then we'll see if collection methods can be removed.

UPD: Difference between WriteCollection and WriteObject is in metadata type id.


was (Author: ptupitsyn):
My point is that WriteArray and WriteCollection methods do not make sense (and they work incorrectly), because depending on element type, there are multiple formats (primitive array, object array, collection, generic collection). Thus in each of these methods we have to select proper handler, the same way we do in the most common WriteObject<T>() method. So we should remove these methods.

First, let's address generic type loss (IGNITE-1619), then we'll see if collection methods can be removed.

> .Net: Remove "Generic" word from "WriteGenericCollection" and "WriteGenericDictionary".
> ---------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1562
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1562
>             Project: Ignite
>          Issue Type: Task
>          Components: interop
>    Affects Versions: ignite-1.4
>            Reporter: Vladimir Ozerov
>            Assignee: Pavel  Tupitsyn
>            Priority: Critical
>             Fix For: ignite-1.5
>
>
> Normally users will use these methods instead of non-generic. Lets make their names as simple as possible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)