You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Dmitriy Setrakyan <ds...@gridgain.com> on 2015/02/25 07:49:20 UTC

ContinuousQuery API

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.

D.