Alexey Kuznetsov created IGNITE-3345:
----------------------------------------
Summary: 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: <a href="http://host:port/ignite?cmd=get&key=1&cacheName=myCache&keyType=Long">http://host:port/ignite?cmd=get&key=1&cacheName=myCache&keyType=Long
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)