Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C70F1891C for ; Wed, 3 Feb 2016 19:40:04 +0000 (UTC) Received: (qmail 30213 invoked by uid 500); 3 Feb 2016 19:39:40 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 29921 invoked by uid 500); 3 Feb 2016 19:39:40 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 29607 invoked by uid 99); 3 Feb 2016 19:39:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2016 19:39:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 326EE2C1F7A for ; Wed, 3 Feb 2016 19:39:40 +0000 (UTC) Date: Wed, 3 Feb 2016 19:39:40 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-1896) .Net: Improve query API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15130972#comment-15130972 ] Vladimir Ozerov commented on IGNITE-1896: ----------------------------------------- Agree. > .Net: Improve query API > ----------------------- > > Key: IGNITE-1896 > URL: https://issues.apache.org/jira/browse/IGNITE-1896 > Project: Ignite > Issue Type: Improvement > Components: platforms > Affects Versions: 1.1.4 > Reporter: Pavel Tupitsyn > Assignee: Vladimir Ozerov > Fix For: 1.6 > > > 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> ScanQuery(ICacheEntryFilter filter); > IQueryCursor> SqlQuery(string sql, params object[] args); > IQueryCursor> SqlQuery(string sql, bool local, params object[] args); > IQueryCursor> TextQuery(string text); > IQueryCursor> TextQuery(string text, bool local); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)