ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@gridgain.com>
Subject ContinuousQuery API
Date Wed, 25 Feb 2015 06:49:20 GMT
Hello Igniters,

I was reviewing ContinuousQuery and this API seems rather dirty to me:

    *public ContinuousQuery<K, V> setInitialPredicate(Query initFilter)*

How did we end up with a parameter of type *Query* which is called
*initFilter* and is being set with a setter called *setInitialPredicate*?

Before it is too late, I suggest changing the API as follows:

    *public ContinuousQuery<K, V> setInitialQuery(Query initQuery)*

I filed a ticket for this: https://issues.apache.org/jira/browse/IGNITE-335

Let's fix it in sprint-2.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message