You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Kuznetsov (JIRA)" <ji...@apache.org> on 2015/06/04 10:52:38 UTC

[jira] [Updated] (IGNITE-983) Add translation of primitive types to object types.

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

Alexey Kuznetsov updated IGNITE-983:
------------------------------------
    Fix Version/s:     (was: sprint-6)
                   sprint-5

> Add translation of primitive types to object types.
> ---------------------------------------------------
>
>                 Key: IGNITE-983
>                 URL: https://issues.apache.org/jira/browse/IGNITE-983
>             Project: Ignite
>          Issue Type: Task
>          Components: cache
>    Affects Versions: sprint-1
>            Reporter: Alexey Kuznetsov
>            Assignee: Alexey Kuznetsov
>            Priority: Trivial
>             Fix For: sprint-5
>
>
> In some cases (especially from Scala) user could register types that would be compiled into primitive type, by Ignite cache could only work with object types, so it would be useful to translate primitive types to its object counterparts.
> For example (scala code):
>    fooCacheCfg.setIndexedTypes(classOf[Int], classOf[Foo])
> Where Int is a Scala type and should be transparently translated into java.lang.Integer.



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