ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Magda (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-2546) Need to introduce transformers to SCAN queries
Date Tue, 09 Feb 2016 08:48:18 GMT

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

Denis Magda updated IGNITE-2546:
--------------------------------
    Assignee: Sergi Vladykin

> Need to introduce transformers to SCAN queries
> ----------------------------------------------
>
>                 Key: IGNITE-2546
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2546
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Valentin Kulichenko
>            Assignee: Sergi Vladykin
>             Fix For: 1.6
>
>
> Need to introduce new query type:
> {code}
> public final class ScanTransformQuery<K, V, R> extends Query<R> {
>     private final IgniteBiPredicate<K, V> filter;
>     private final int part;
>     private final IgniteClosure<Cache.Entry<K, V>, R> transformer;
>     
>     // ... Constructors, getters, setters, etc. Use ScanQuery class as a template.
> }
> {code}
> Transformer is mandatory. If it's not set, the exception should be thrown suggesting
to use {{ScanQuery}} instead.



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

Mime
View raw message