Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 1301 invoked from network); 12 Apr 2010 20:40:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Apr 2010 20:40:28 -0000 Received: (qmail 73465 invoked by uid 500); 12 Apr 2010 20:40:28 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 73402 invoked by uid 500); 12 Apr 2010 20:40:28 -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 73394 invoked by uid 99); 12 Apr 2010 20:40:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 20:40:27 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of watcherfr@gmail.com designates 209.85.218.222 as permitted sender) Received: from [209.85.218.222] (HELO mail-bw0-f222.google.com) (209.85.218.222) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 20:40:21 +0000 Received: by bwz22 with SMTP id 22so5329742bwz.25 for ; Mon, 12 Apr 2010 13:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=T5jndzXL24xelFI/WIlwKBcKtYPRWQC/JF4izEa5pzg=; b=cLBctXtoZIOsS7NvGFJGESRHyOU+P8KopaLxONEqEAVN8QZFYpK14wYWHr+iVoM6uc q97GQFb+GVruy4mlbIv1h6QvetPUwlGyp5rfr9FlfWYl6fM/rj+C3vJsx7Gx87rFVhQH Lntevat9fdwSx22R0hNFrzIzNSsPNjgbkWOlU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=C2RZgmD8sydy85oOz2sfzqpT2yJj25cm/c5fYoZ80/ZPDAiQFKN8U637eaxLCz51hS Vo3uKVWAr6JTSjR6R+mW/Yg01fOJdAsEWTlQ4GQp/ovMRV+1CUW9rRvVo5iwT+bCPvhf +jZw4vBut056ljHIicKrakqfgAVw0LMs6jWL0= MIME-Version: 1.0 Received: by 10.204.102.195 with HTTP; Mon, 12 Apr 2010 13:40:00 -0700 (PDT) In-Reply-To: <1271095233.8771.447.camel@erebus.lan> References: <1271095233.8771.447.camel@erebus.lan> Date: Mon, 12 Apr 2010 22:40:00 +0200 Received: by 10.204.34.81 with SMTP id k17mr5364018bkd.78.1271104800277; Mon, 12 Apr 2010 13:40:00 -0700 (PDT) Message-ID: Subject: Re: Two dimensional matrices From: Philippe To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=00032555b14217c555048410267d --00032555b14217c555048410267d Content-Type: text/plain; charset=ISO-8859-1 Eric, Dop, Thanks for your answers. If I understand what you're asking, a rectangle (identified by X and Y > coordinates for a time-frame), will boil down to a single column. There > are certainly no problems with retrieving a single sub-column from a > super column. > I realize I wasn't clear enough. Getting cell {x,y} is easy, I understand that. I am interested in getting a slice of that grid : all cells {x,y} where - x_min<=x<=x_max - y_min<=y<=y_max My understanding from the docs is that get_range_slices would do it but I would like confirmation. In fact, I believe this is the same question as Dop Sun is asking. > > Will the result associate each value with its key and column ? > The result will be a column that contains the binary value, which you > obtained by using key, column family, and super column name. So, yes. > What about this new case ? Philippe --00032555b14217c555048410267d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Eric, Dop,
Thanks for your a= nswers.=A0

If I underst= and what you're asking, a rectangle (identified by X and Y
coordinates for a time-frame), will boil down to a single column. There
are certainly no problems with retrieving a single sub-column from a
super column.
I realize I wasn't clear enough. Get= ting cell {x,y} is easy, I understand that.
I am interested in ge= tting a slice of that grid : all cells {x,y} where=A0
  • x_min<=3Dx<=3Dx_max
  • y_min<=3Dy<=3Dy_max
M= y understanding from the docs is that get_range_slices would do it but I wo= uld like confirmation.
In fact, I believe this is the same questi= on as Dop Sun is asking.



> Will the result associate each value with its key and column ?
The result will be a column that contains the binary value, which you=
obtained by using key, column family, and super column name. So, yes.
What about this new case ?

Philipp= e
--00032555b14217c555048410267d--