You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by devinbost <de...@gmail.com> on 2019/11/14 22:31:53 UTC

Re: How to query existing cache that was configured via XML

ilya.kasnacheev wrote
> It's not possible to add table to cache.
> 
> It is possible to define cache with table(s) from XML, but you will have
> to
> populate it with data from scratch:
> https://apacheignite.readme.io/docs/indexes

Am I able to use the QueryCursor on a cache that was created without a
table? We're trying to figure out how to easily iterate through the cache
values to migrate them into a cache that has a table.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: Re: How to query existing cache that was configured via XML

Posted by Alexandr Shapkin <le...@gmail.com>.
Please, have a look at [examples/datagrid/CacheQueryExample.java
](https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java)
file.



 **From:**[devinbost](mailto:devin.bost@gmail.com)  
 **Sent:** Friday, November 15, 2019 1:31 AM  
 **To:**[user@ignite.apache.org](mailto:user@ignite.apache.org)  
 **Subject:** Re: How to query existing cache that was configured via XML



ilya.kasnacheev wrote

> It's not possible to add table to cache.

>

> It is possible to define cache with table(s) from XML, but you will have

> to

> populate it with data from scratch:

> https://apacheignite.readme.io/docs/indexes



Am I able to use the QueryCursor on a cache that was created without a

table? We're trying to figure out how to easily iterate through the cache

values to migrate them into a cache that has a table.







\--

Sent from: http://apache-ignite-users.70518.x6.nabble.com/