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