You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2016/08/09 03:18:20 UTC

[jira] [Updated] (IGNITE-2546) Need to introduce transformers to SCAN queries

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

Valentin Kulichenko updated IGNITE-2546:
----------------------------------------
    Description: 
Need to add new method to {{IgniteCache}} API:

{code}
public <T, R> QueryCursor<R> query(Query<T> qry, IgniteClosure<T, R> transformer);
{code}

For now this will be supported only for {{ScanQuery}}, for all others we should throw {{UnsupportedOperationException}} with proper message.

Example and documentation should be also added.

  was:
Need to add new method to {{IgniteCache}} API:

{code}
public <T, R> QueryCursor<R> query(Query<T> qry, IgniteClosure<T, R> transformer);
{code}

For {{SqlFieldsQuery}} we should throw {{UnsupportedOperationException}}, but for all other types of query proper support should be implemented.


> Need to introduce transformers to SCAN queries
> ----------------------------------------------
>
>                 Key: IGNITE-2546
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2546
>             Project: Ignite
>          Issue Type: Improvement
>          Components: cache
>            Reporter: Valentin Kulichenko
>            Assignee: Valentin Kulichenko
>            Priority: Critical
>             Fix For: 1.7
>
>
> Need to add new method to {{IgniteCache}} API:
> {code}
> public <T, R> QueryCursor<R> query(Query<T> qry, IgniteClosure<T, R> transformer);
> {code}
> For now this will be supported only for {{ScanQuery}}, for all others we should throw {{UnsupportedOperationException}} with proper message.
> Example and documentation should be also added.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)