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 Konstantinov (JIRA)" <ji...@apache.org> on 2015/06/05 11:47:00 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=14574220#comment-14574220 ] 

Pavel Konstantinov edited comment on IGNITE-983 at 6/5/15 9:46 AM:
-------------------------------------------------------------------

Added primitive types int and double to IndexedTypes.
Strarted Visor and verified IndexedTypes in Cache configuration dialog - shows Integer and Double. 
If it is OK please close the ticket.


was (Author: pkonstantinov):
Added primitive types int and double to IndexedTypes.
Strarted Visor and verified IndexedTypes in Cache configuration dialog - shows Integer and Double. 

> 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: Pavel Konstantinov
>            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)