Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 30579 invoked from network); 4 Aug 2010 21:10:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Aug 2010 21:10:26 -0000 Received: (qmail 74094 invoked by uid 500); 4 Aug 2010 21:10:25 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 74059 invoked by uid 500); 4 Aug 2010 21:10:24 -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 74051 invoked by uid 99); 4 Aug 2010 21:10:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 21:10:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kguner@hakia.com designates 173.10.157.103 as permitted sender) Received: from [173.10.157.103] (HELO CORP02.corp.hakia.com) (173.10.157.103) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 21:10:17 +0000 Received: from CORP02.corp.hakia.com ([10.80.0.222]) by CORP02.corp.hakia.com ([10.80.0.222]) with mapi; Wed, 4 Aug 2010 17:15:51 -0400 From: Kartal Guner To: "user@cassandra.apache.org" Date: Wed, 4 Aug 2010 17:15:49 -0400 Subject: Limit total number of columns for multiget_slice Thread-Topic: Limit total number of columns for multiget_slice Thread-Index: Acs0GV//2sd9nxH1TEyIWCquvMjWsA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: AAbH AG/w ARe0 Brxd Bs+L C4Yk DZPo Ecu+ Edj4 Et0c FxGo GyCu Hdeg HxWv H5GH IkTX;1;dQBzAGUAcgBAAGMAYQBzAHMAYQBuAGQAcgBhAC4AYQBwAGEAYwBoAGUALgBvAHIAZwA=;Sosha1_v1;7;{B64F268E-BCF6-4EA4-9D31-80D17DCB18CF};awBnAHUAbgBlAHIAQABoAGEAawBpAGEALgBjAG8AbQA=;Wed, 04 Aug 2010 21:09:49 GMT;TABpAG0AaQB0ACAAdABvAHQAYQBsACAAbgB1AG0AYgBlAHIAIABvAGYAIABjAG8AbAB1AG0AbgBzACAAZgBvAHIAIABtAHUAbAB0AGkAZwBlAHQAXwBzAGwAaQBjAGUA x-cr-puzzleid: {B64F268E-BCF6-4EA4-9D31-80D17DCB18CF} acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_A29131C7C8B737439843E4380605E13202B76B2FA54DCORP02corph_" MIME-Version: 1.0 --_000_A29131C7C8B737439843E4380605E13202B76B2FA54DCORP02corph_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I want to know if the following is possible: I want to query multiple keys in a column family. I want to limit the tota= l # of columns returned. The number of columns for a given key can be anywhere from 0 to several mil= lion. For example I want to get 50 columns total from keys A & C. If A and C hav= e 40 columns each, I want the 40 columns from A and the first 10 columns fr= om C. CF { A: Key { Col1 {..} Col2 {..} ... } B: Key { Col1 {..} Col2 {..} ... } C: Key { Col1 {..} Col2 {..} ... } D: Key { Col1 {..} Col2 {..} ... } } --_000_A29131C7C8B737439843E4380605E13202B76B2FA54DCORP02corph_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello, I want to know if the following is possible:

 

I want to query multiple keys in a column family. = ; I want to limit the total # of columns returned.

 

The number of columns for a given key can be anywhere = from 0 to several million.   

 

For example I want to get 50 columns total from keys A= & C.  If A and C have 40 columns each, I want the 40 columns from A and = the first 10 columns from C.

 

CF

{

         =        A:      =       Key

         =        {

         =             &nb= sp;          Col1 {..}

         =             &nb= sp;          Col2 {..}

         =        }

 

B:    &= nbsp;       Key

         =        {

         =             &nb= sp;          Col1 {..}

         =             &nb= sp;          Col2 {..}

         =             &nb= sp;          …

         =        }

 

C:    &= nbsp;       Key

         =        {

         =             &nb= sp;          Col1 {..}

         =             &nb= sp;          Col2 {..}

         =             &nb= sp;          …

         =        }

 

D:    &= nbsp;       Key

         =        {

         =             &nb= sp;          Col1 {..}

         =             &nb= sp;          Col2 {..}

         =             &nb= sp;          …

         =        }

}

 

--_000_A29131C7C8B737439843E4380605E13202B76B2FA54DCORP02corph_--