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 2018/03/07 07:58:00 UTC

[jira] [Closed] (IGNITE-7803) REST: Add support to get values inserted via API or SQL

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

Pavel Konstantinov closed IGNITE-7803.
--------------------------------------

> REST: Add support to get values inserted via API or SQL
> -------------------------------------------------------
>
>                 Key: IGNITE-7803
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7803
>             Project: Ignite
>          Issue Type: Task
>          Components: rest
>            Reporter: Alexey Kuznetsov
>            Assignee: Pavel Konstantinov
>            Priority: Major
>             Fix For: 2.5
>
>
> Scenario 1:
>  # cache.put(1, new Person(1, Alex, 300))
>  # get via REST: {{[http://host:port/ignite?cmd=get&cacheName=SQL_PUBLIC_PERSON&keyType=int&key=1|http://hostport/]}}
> Scenario 2:
>  # create table person(id integer primary key, name varchar(100), salary integer);
>  # insert into person(id, name, salary) values (1, Alex, 300)
>  # get via REST: {{[http://host:port/ignite?cmd=get&cacheName=SQL_PUBLIC_PERSON&keyType=int&key=1|http://hostport/]}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)