From user-return-30533-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon Dec 10 21:08:21 2012 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 6A728D2B4 for ; Mon, 10 Dec 2012 21:08:21 +0000 (UTC) Received: (qmail 40137 invoked by uid 500); 10 Dec 2012 21:08:18 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 40066 invoked by uid 500); 10 Dec 2012 21:08:18 -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 40058 invoked by uid 99); 10 Dec 2012 21:08:18 -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:08:18 +0000 X-ASF-Spam-Status: No, hits=2.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLYTO_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [72.30.238.206] (HELO nm37-vm6.bullet.mail.bf1.yahoo.com) (72.30.238.206) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 21:08:08 +0000 Received: from [98.139.212.144] by nm37.bullet.mail.bf1.yahoo.com with NNFMP; 10 Dec 2012 21:07:48 -0000 Received: from [98.139.212.222] by tm1.bullet.mail.bf1.yahoo.com with NNFMP; 10 Dec 2012 21:07:48 -0000 Received: from [127.0.0.1] by omp1031.mail.bf1.yahoo.com with NNFMP; 10 Dec 2012 21:07:48 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 83572.96690.bm@omp1031.mail.bf1.yahoo.com Received: (qmail 89964 invoked by uid 60001); 10 Dec 2012 21:07:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1355173668; bh=Swg+/4tPjyWz8u4bCDp8UDZM6roonpk97my7+q9GbCo=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=Sy1YV1QMU5iG5rb1JJY1kPtfohev49AzFevda06DGIA9U8C+8JnkSOmGaHzBIxcWAsayQ0uN1motiTWdSfI1mpNUEjNU5JR7iyBzAb0uXVvrIyugeg9xulO7ImYnRV0dQlObShcUA8EBj0MEPJmiE+tfo1/AOwppjnaK9YoAx+Y= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=UjC4w0FZs7v0TcR8ucjND2HiUECHnUv9QoAfbHICbMS27BMr7EklL+52Gu6mf2J8gYaWlBxm8+vF2kyrzWiDVWVgYJF2mdUi9/JQ4rUyigb8swf9cONdprnkInXnNiL4ePNRVyWPkcOGGLD+VwQ2y7S1tJH9b775WeAjfJ/XPBo=; X-YMail-OSG: O5wuQxsVM1kiIq0Wv_d9_nddWBCbbOD_w_Qa5EqiB3RiGDw s0U0c5seosOnvgBCZcpCK_Vsxly3JcvLrOMgiKsRK9SJsz2yU7A56EZuXsCn Xvlffd.1bA8D59pP1sIBqdxQrOkmdr2N0nMIOso_tBsNRkMtgwRYsiDQTYSZ RSGHkJduQGZ5uyfe8c9vR4yQvAX4AdrwClyKMHTvpeRYa2jF7Jht7RS.ruTI dVvJp7tchcXt7WABoUPbxguA.5Zs37SJLG8GP2ttWofsEUHqHbGd08udELbK YRTJLIAsa_k5hr7fjCLaRrOZfxcXI6M4oKzsIjDe8c58ZdsmcwRIxT1dLqFq CJHwjvEx69R0Kn7sufYMTnDTtWS8EnvUqZXuY0GODjPFHY.LNYOmngEu46lH Iw7RR5hAz3CvfwflqjX_fuT_qrfrC5SvjrwlE38ARz0kZKeoNYXUijrSq6CD jk2Q91e1Z20pV9LkiNGUyoc2wSRiOFFk0Wpc4tyKkFB2T1YxJzw-- Received: from [199.21.86.226] by web160903.mail.bf1.yahoo.com via HTTP; Mon, 10 Dec 2012 13:07:47 PST X-Rocket-MIMEInfo: 001.001,SSBrbm93IGl0J3MgcHJvYmFibHkgbm90IGEgZ29vZCBpZGVhIHRvIHVzZSBtdWx0aWdldCwgYnV0IGZvciBteSB1c2UgY2FzZSwgaXQncyB0aGUgb25seSBjaG9pY2UsCgpJIGhhdmUgcXVlc3Rpb24gcmVnYXJkaW5nIHRoZSBTbGljZVByZWRpY2F0ZSBhcmd1bWVudCBvZiB0aGUgbXVsdGlnZXRfc2xpY2UKCgpUaGUgU2xpY2VQcmVkaWNhdGUgdGFrZXMgc2xpY2VfcmFuZ2Ugd2hpY2ggdGFrZXMgc3RhcnQsIGVuZCBhbmQgcmFuZ2UuIEkgc3VwcG9zZSBzdGFydCBhbmQgZW5kIHdpbGwgYXBwbHkgdG8gZWFjaCABMAEBAQE- X-Mailer: YahooMailWebService/0.8.128.478 Message-ID: <1355173667.89578.YahooMailNeo@web160903.mail.bf1.yahoo.com> Date: Mon, 10 Dec 2012 13:07:47 -0800 (PST) From: Wei Zhu Reply-To: Wei Zhu Subject: multiget_slice SlicePredicate To: Cassandr usergroup MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="980202461-75124385-1355173667=:89578" X-Virus-Checked: Checked by ClamAV on apache.org --980202461-75124385-1355173667=:89578 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I know it's probably not a good idea to use multiget, but for my use case, = it's the only choice,=0A=0AI have question regarding the SlicePredicate arg= ument of the multiget_slice=0A=0A=0AThe SlicePredicate takes slice_range wh= ich takes start, end and range. I suppose start and end will apply to each = individual row. How about range, is it a accumulative column count of all t= he rows or to the individual row?=A0=0AIf I set range to 100, is it 100 col= umns per row, or total?=0A=0AThanks for you reply,=0A-Wei=0A=0A=0Amultiget_= slice=0A=09* map>=A0multiget_slice(list=A0keys,=A0ColumnParent=A0column_parent,=A0SlicePredicate=A0predicate,= =A0ConsistencyLevel=A0consistency_level) --980202461-75124385-1355173667=:89578 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
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 m= ultiget_slice


The SlicePredicate takes slice_range which takes sta= rt, end and range. I suppose start and end will apply to each individual ro= w. 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 ro= w, or total?

Thanks for you reply,
-Wei

multiget_slice

=0A
  • map<string,list<ColumnOrSuperColumn>>&n= bsp;multiget_slice(list<binary> keys, ColumnParent col= umn_parent, SlicePredicate predicate, ConsistencyLevel = consistency_level)


--980202461-75124385-1355173667=:89578--