Hi

If you know the type name you can use sql query field command.

For example :
http://ves-hx-40.ebi.ac.uk:8080
<http://ves-hx-40.ebi.ac.uk:8080/ignite?cmd=getorcreate&cacheName=session-cache>
/ignite?cmd=qryfldexe&pageSize=10&cacheName=session-cache
<http://ves-hx-40.ebi.ac.uk:8080/ignite?cmd=getorcreate&cacheName=session-cache>
&qry=select+*+from+<*session_object*>

exmaple 2 :
http://localhost:8080/ignite?cmd=qryfldexe&pageSize=10&cacheName=CacheQueryExamplePersons&qry=select+*+from+Person


This will return list of entries in the cache in items object inside json
response.

Regards
Saikat









On Sat, Aug 6, 2016 at 9:34 AM, vkulichenko <valentin.kuliche...@gmail.com>
wrote:

> Hi,
>
> This commands only creates the cache and does not respond with any data.
> Refer to the whole list of available commands here:
> https://apacheignite.readme.io/docs/rest-api
>
> -Val
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Cannot-get-cache-through-the-REST-API-tp6806p6820.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Reply via email to