ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Izhikov (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-425) Introduce transformers for continuous queries
Date Fri, 04 Aug 2017 13:51:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16109140#comment-16109140
] 

Nikolay Izhikov edited comment on IGNITE-425 at 8/4/17 1:50 PM:
----------------------------------------------------------------

PR - https://github.com/apache/ignite/pull/2372
US - http://reviews.ignite.apache.org/ignite/review/IGNT-CR-266

[~avinogradov] can you review my changes?


was (Author: nizhikov):
PR - https://github.com/apache/ignite/pull/2372
US - http://reviews.ignite.apache.org/ignite/review/IGNT-CR-254

[~avinogradov] can you review my changes?

> Introduce transformers for continuous queries
> ---------------------------------------------
>
>                 Key: IGNITE-425
>                 URL: https://issues.apache.org/jira/browse/IGNITE-425
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: cache
>            Reporter: Yakov Zhdanov
>            Assignee: Nikolay Izhikov
>
> Currently if updated entry passes the filter, it is sent to node initiated the query
entirely. It would be good to provide user with the ability to transform entry and, for example,
select only fields that are important. This may bring huge economy to traffic and lower GC
pressure as well.
> Possible signatures will be:
> {noformat}
> public final class ContinuousQuery<K, V, T> {..} // T is a type transformer transforms
to
> public ContinuousQuery<K, V, T> setLocalListener(Listener<T> locLsnr) {..}
// Probably, we will have to introduce new listener type, since user may want to wipe out
key as well.
> /* new method to add */
> public ContinuousQuery<K, V, T> setRemoteTransformerFactory(Factory<? extends
ContinuousQueryTransformer<K, V, T>> factory) { ..}
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message