Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 508D5D2EA for ; Mon, 10 Dec 2012 21:13:58 +0000 (UTC) Received: (qmail 63818 invoked by uid 500); 10 Dec 2012 21:13:55 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 63792 invoked by uid 500); 10 Dec 2012 21:13:55 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 63781 invoked by uid 99); 10 Dec 2012 21:13:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 21:13:55 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.174.58.133] (HELO XEDGEB.nrel.gov) (192.174.58.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 21:13:49 +0000 Received: from XHUBA.nrel.gov (10.20.4.58) by XEDGEB.nrel.gov (192.174.58.133) with Microsoft SMTP Server (TLS) id 8.3.245.1; Mon, 10 Dec 2012 14:13:27 -0700 Received: from MAILBOX2.nrel.gov ([fe80::19a0:6c19:6421:12f]) by XHUBA.nrel.gov ([::1]) with mapi; Mon, 10 Dec 2012 14:13:27 -0700 From: "Hiller, Dean" To: "user@cassandra.apache.org" , Wei Zhu Date: Mon, 10 Dec 2012 14:13:29 -0700 Subject: Re: multiget_slice SlicePredicate Thread-Topic: multiget_slice SlicePredicate Thread-Index: Ac3XGzI2ssbaSFqKQLyeUyK3mbzj0w== Message-ID: In-Reply-To: <1355173667.89578.YahooMailNeo@web160903.mail.bf1.yahoo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.5.121010 acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org What's wrong with multiget=85parallel performance is great from multiple di= sks and so usually that is a good thing. Also, something looks wrong, since you have list keys, I would expe= ct the Map to be Map> Are you sure you have that correct? IF you set range to 100, it should be = 100 columns each row but it never hurts to run the code and verify. Later, Dean PlayOrm Developer From: Wei Zhu > Reply-To: "user@cassandra.apache.org" >, Wei Zhu > Date: Monday, December 10, 2012 2:07 PM To: Cassandr usergroup > Subject: multiget_slice SlicePredicate I know it's probably not a good idea to use multiget, but for my use case, = it's the only choice, I have question regarding the SlicePredicate argument of the multiget_slice The SlicePredicate takes slice_range which takes start, end and range. I su= ppose start and end will apply to each individual row. How about range, is = it a accumulative column count of all the rows or to the individual row? If I set range to 100, is it 100 columns per row, or total? Thanks for you reply, -Wei multiget_slice * map> multiget_slice(list keys, Col= umnParent column_parent, SlicePredicate predicate, ConsistencyLevel consist= ency_level)