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 9A493200BD5 for ; Thu, 8 Dec 2016 08:05:52 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 98D7B160B1F; Thu, 8 Dec 2016 07:05:52 +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 E3371160B1E for ; Thu, 8 Dec 2016 08:05:51 +0100 (CET) Received: (qmail 57775 invoked by uid 500); 8 Dec 2016 07:05:51 -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 57766 invoked by uid 99); 8 Dec 2016 07:05:51 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2016 07:05:51 +0000 Received: from mail-qt0-f172.google.com (mail-qt0-f172.google.com [209.85.216.172]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 848CF1A05A7 for ; Thu, 8 Dec 2016 07:05:50 +0000 (UTC) Received: by mail-qt0-f172.google.com with SMTP id n6so404674878qtd.1 for ; Wed, 07 Dec 2016 23:05:50 -0800 (PST) X-Gm-Message-State: AKaTC02NNuo+jU3qNtDnN/Iuex4uBNCPm2XVmLSQLyVJDZC6BTh5SvGvMrfhztDUZSE/ieAbpuN5vz4mfwzr+Isf X-Received: by 10.237.47.227 with SMTP id m90mr63838243qtd.120.1481180749084; Wed, 07 Dec 2016 23:05:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.176.244 with HTTP; Wed, 7 Dec 2016 23:05:48 -0800 (PST) In-Reply-To: References: From: Yakov Zhdanov Date: Thu, 8 Dec 2016 14:05:48 +0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Update a column of cache entities - Ignite 1.7 To: user@ignite.apache.org Content-Type: multipart/alternative; boundary=94eb2c1255c265f2360543204422 archived-at: Thu, 08 Dec 2016 07:05:52 -0000 --94eb2c1255c265f2360543204422 Content-Type: text/plain; charset=UTF-8 You can send IgniteCompute.affinityCall() to the primary node that holds the partition you are interested in. Inside the closure you can have iteration and invoke() calls that will be local to the primary copy. If you need to process the entire cache data set then send as many affinityCall's as you have partitions. --Yakov 2016-12-07 23:00 GMT+07:00 Anil : > HI, > > is there any way to update a column value in ignite other than > EntryProcessor ? > > IgniteCache#invokeAll(keys, EntryProcessor) need the keys in hand. > > > --94eb2c1255c265f2360543204422 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
You can send IgniteCompute.affinityCall() to the primary n= ode that holds the partition you are interested in. Inside the closure you = can have iteration and invoke() calls that will be local to the primary cop= y. If you need to process the entire cache data set then send as many affin= ityCall's as you have partitions.

--Yakov

2016-12-07 23:00 GMT+07:00 Anil <anilklce@= gmail.com>:
HI,

is there any way to update a column value in ignit= e other than EntryProcessor ?

IgniteCache#invokeAl= l(keys, EntryProcessor) need the keys in hand.


--94eb2c1255c265f2360543204422--