ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IGNITE-7803) REST: Add support to get values inserted via API or SQL
Date Fri, 02 Mar 2018 09:35:00 GMT

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

Alexey Kuznetsov resolved IGNITE-7803.
--------------------------------------
    Resolution: Fixed
      Assignee: Pavel Konstantinov  (was: Alexey Kuznetsov)

Merged to master.

> 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)

Mime
View raw message