Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4EBAC200B64 for ; Tue, 19 Jul 2016 04:56:02 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4B48A160A65; Tue, 19 Jul 2016 02:56:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BB82D160A5D for ; Tue, 19 Jul 2016 04:56:01 +0200 (CEST) Received: (qmail 98510 invoked by uid 500); 19 Jul 2016 02:56:00 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 98500 invoked by uid 99); 19 Jul 2016 02:56:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2016 02:56:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 81F48188802 for ; Tue, 19 Jul 2016 02:56:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.173 X-Spam-Level: ** X-Spam-Status: No, score=2.173 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id hgZK9lpjFTcf for ; Tue, 19 Jul 2016 02:55:58 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 931CC5F39D for ; Tue, 19 Jul 2016 02:55:57 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id C24B42CBEA96 for ; Mon, 18 Jul 2016 19:32:39 -0700 (PDT) Date: Mon, 18 Jul 2016 19:38:49 -0700 (PDT) From: bluehu To: user@ignite.apache.org Message-ID: <1468895929481-6363.post@n6.nabble.com> Subject: Is there a way to get keyset except SQL query(select _key from ...)? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Tue, 19 Jul 2016 02:56:02 -0000 I want to scan keys from ignite cache(except values) like this to reduce traffic and improve performance: /Iterator it = cache.keySetIterator(); while (it.hasNext()) { ...... }/ *but I do not want to use SQL query(select _key from ...) for some reason, how can I achieve this by minimal modification, do you have some suggestions?* -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Is-there-a-way-to-get-keyset-except-SQL-query-select-key-from-tp6363.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.