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/02 17:45:25 UTC

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

Alexey Kuznetsov created IGNITE-983:
---------------------------------------

             Summary: 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
            Priority: Trivial
             Fix For: sprint-6


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)