You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Kozlov (JIRA)" <ji...@apache.org> on 2016/06/21 05:57:58 UTC

[jira] [Commented] (IGNITE-3345) Implement support for optional key type in REST HTTP get command

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

Sergey Kozlov commented on IGNITE-3345:
---------------------------------------

I think we should do the same for all operations that modify the cache.

> Implement support for optional key type in REST HTTP get command
> ----------------------------------------------------------------
>
>                 Key: IGNITE-3345
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3345
>             Project: Ignite
>          Issue Type: Task
>          Components: cache
>    Affects Versions: 1.6
>            Reporter: Alexey Kuznetsov
>             Fix For: 1.7
>
>
> It seems that in current implementation (https://apacheignite.readme.io/docs/rest-api#get)
> GET command could work only with String keys.
> We can add optional parameter "keyType" and implement support for common built-in types such as Integer, Long, UUID,... and user classes that a valid JavaBeans.
> Sample: http://host:port/ignite?cmd=get&key=1&cacheName=myCache&keyType=Long



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