Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-1191 Continuous Query Changes
  3. IGNITE-425

Introduce transformers for continuous queries

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.5
    • cache
    • None

    Description

      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:

      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) { ..}
      
      

      Attachments

        Issue Links

          Activity

            People

              nizhikov Nikolay Izhikov
              yzhdanov Yakov Zhdanov
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: