ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Setrakyan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-335) Need to change ContinuousQuery.setInitialPredicate API
Date Wed, 25 Feb 2015 06:51:04 GMT

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

Dmitriy Setrakyan updated IGNITE-335:
-------------------------------------
    Description: 
Current API is very confusing. It has a parameter of type `Query` which is called `initFilter`
and is being set with a setter called `setInitialPredicate`.

Let change this API:
{code}
public ContinuousQuery<K, V> setInitialPredicate(Query initFilter)
{code}
to this API
{code}
public ContinuousQuery<K, V> setInitialQuery(@Nullable Query initQuery)
{code}

  was:
Current API is very confusing. It has a parameter of type `Query` which is called `initFilter`
and is being set with a setter called `setInitialPredicate`.

Let change this API:
{code}
public ContinuousQuery<K, V> setInitialPredicate(Query initFilter)
{code}
to this API
{code}
public ContinuousQuery<K, V> setInitialQuery(Query initQuery)
{code}


> Need to change ContinuousQuery.setInitialPredicate API
> ------------------------------------------------------
>
>                 Key: IGNITE-335
>                 URL: https://issues.apache.org/jira/browse/IGNITE-335
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Dmitriy Setrakyan
>            Assignee: Yakov Zhdanov
>            Priority: Blocker
>             Fix For: sprint-2
>
>
> Current API is very confusing. It has a parameter of type `Query` which is called `initFilter`
and is being set with a setter called `setInitialPredicate`.
> Let change this API:
> {code}
> public ContinuousQuery<K, V> setInitialPredicate(Query initFilter)
> {code}
> to this API
> {code}
> public ContinuousQuery<K, V> setInitialQuery(@Nullable Query initQuery)
> {code}



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

Mime
View raw message