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

ASF GitHub Bot commented on IGNITE-1896:
----------------------------------------

GitHub user ptupitsyn opened a pull request:

    https://github.com/apache/ignite/pull/231

    IGNITE-1896 .Net: Improve query API

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ptupitsyn/ignite ignite-1896

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/231.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #231
    
----
commit 66dc2543804e2639fd4b09da1ddd1cde3f552ffd
Author: Pavel Tupitsyn <[email protected]>
Date:   2015-11-13T12:17:16Z

    IGNITE-1896 .Net: Improve query API

commit ed6eba566795ae21b20f31a5b8b127ea01c2e934
Author: Pavel Tupitsyn <[email protected]>
Date:   2015-11-13T12:18:38Z

    Arg checks

commit a8040a2bdf73587b65c6413095389845b7f840bb
Author: Pavel Tupitsyn <[email protected]>
Date:   2015-11-13T12:21:51Z

    Examples & tests

commit eb150cd13a2488daee6006de86c5545aca8fd600
Author: Pavel Tupitsyn <[email protected]>
Date:   2015-11-13T12:27:07Z

    Fix typo

commit 9ed675e076790a3674a0df86de3201f43cd42a8a
Author: Pavel Tupitsyn <[email protected]>
Date:   2015-11-13T12:29:37Z

    Cleanup

----


> .Net: Improve query API
> -----------------------
>
>                 Key: IGNITE-1896
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1896
>             Project: Ignite
>          Issue Type: Improvement
>          Components: interop
>    Affects Versions: 1.1.4
>            Reporter: Pavel  Tupitsyn
>            Assignee: Pavel  Tupitsyn
>             Fix For: 1.5
>
>
> Current API is very clumsy.
> Cache is generic, however we require the user to specify query type 
> explicitly.
> There are cases when query type is a string and/or is different from current 
> cache generic type, so the current API has to be kept.
> However, we should provide simple methods with generic inference:
> {code}
>         IQueryCursor<ICacheEntry<TK, TV>> ScanQuery(ICacheEntryFilter<TK, TV> 
> filter);
>         IQueryCursor<ICacheEntry<TK, TV>> SqlQuery(string sql, params 
> object[] args);
>         IQueryCursor<ICacheEntry<TK, TV>> SqlQuery(string sql, bool local, 
> params object[] args);
>         IQueryCursor<ICacheEntry<TK, TV>> TextQuery(string text);
>         IQueryCursor<ICacheEntry<TK, TV>> TextQuery(string text, bool local);
> {code}



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

Reply via email to