Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 20729 invoked from network); 19 Feb 2011 13:43:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2011 13:43:17 -0000 Received: (qmail 52487 invoked by uid 500); 19 Feb 2011 13:43:15 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 52433 invoked by uid 500); 19 Feb 2011 13:43:12 -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 52425 invoked by uid 99); 19 Feb 2011 13:43:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Feb 2011 13:43:12 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of asdkl93@gmail.com designates 209.85.160.44 as permitted sender) Received: from [209.85.160.44] (HELO mail-pw0-f44.google.com) (209.85.160.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Feb 2011 13:43:05 +0000 Received: by pwi7 with SMTP id 7so913883pwi.31 for ; Sat, 19 Feb 2011 05:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=Vp6OPUWBm4tL0/Em82seVaVB1EGlNllHCqyso4x3TP8=; b=ozeXRMAQxaqHPmkldXD6KQ6zi6g3D8EgHbZV4scmboFYrfTzFlPAB5bt4Bez+2//Yg 8jg6PAv45ciPXGgIhNlT6FDfWNAJL2SON14qSMvNn625AUN1tBB2ieNNim1EAafKCiS9 ZpZ+kzEQhyD3TA+kONDW9HmEPZaxJ1zsuqrj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=reFOW+K65d9qdgEaMnOEb5OrQvVriOLq+LMDUoWsaAu3LmQ951aRUIZAwP7sqJ/fPq g0q8QPd/m1HWevT37qqxlT6pEYgb0ksiKlMu66d/nHeXdNtvV0gY0LsXOAIzDAvO82YF TUNHqVEQQ3mkSXGd4cKRTqawolOT9nRJWhkac= MIME-Version: 1.0 Received: by 10.142.234.5 with SMTP id g5mr1448065wfh.13.1298122965578; Sat, 19 Feb 2011 05:42:45 -0800 (PST) Received: by 10.143.10.3 with HTTP; Sat, 19 Feb 2011 05:42:45 -0800 (PST) Date: Sat, 19 Feb 2011 19:12:45 +0530 Message-ID: Subject: Reading a bunch of rows pointed out by column names of columns in some row From: Aklin_81 To: user Content-Type: text/plain; charset=ISO-8859-1 Is there a way to just ask for column names in a row to get just a column names list (and not the entire >). I am using Hector. I have a row of valueless columns (whose column names are keys to another set of rows) & I wish to retrieve a list of those column names and send it in another query to retrieve the corresponding rows pointed by each of those columns. Now if I do a normal query I get list of columns like: List > but I would need to pass to another query as just column names list like: List Is there any method in java which could transforms this list in a better way, rather than iterating over each column and extracting its name into another list ? What would be the best way to do such queries?