Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 58584 invoked from network); 11 Apr 2010 23:31:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Apr 2010 23:31:55 -0000 Received: (qmail 11742 invoked by uid 500); 11 Apr 2010 23:31:54 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 11722 invoked by uid 500); 11 Apr 2010 23:31:54 -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 11714 invoked by uid 99); 11 Apr 2010 23:31:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Apr 2010 23:31:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.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; Sun, 11 Apr 2010 23:31:46 +0000 Received: by bwz22 with SMTP id 22so4212980bwz.25 for ; Sun, 11 Apr 2010 16:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=boe2VNMGsrX4qdDx8q+6c76/S4NefEjhWMdX/hnmSgo=; b=icJGxS2hZl2zamY7Fnj0SGWlnFEmYJ3EKOki3YblvP06zzexbJtIvOEsbaF8cumOuP zEalMM2eK8TeDPgLGPb52HLXdPi5ntbAJyLhYF5lk1HqmvOI0HdXsef/2hBlygb9JjdD hd+1RCSDortoIBb69RNYrgIgHOHPRi3/ztSJY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nGjD5ud94Ci6oaEQMOlIh5CMPihOOLvhT7qJXWpxadf1sXxG5jZMQxgh6aqW54lk76 f7NlbOkytt+VzFPBRGPwKg1NqxJ1A9/+EA1DtEgp5tF4NvsxtRMM37BjGN059mW/zkfa zVgRN9saH+YlbVG/Wa4rIEnRpEDi27qzDN0yc= MIME-Version: 1.0 Received: by 10.204.102.195 with HTTP; Sun, 11 Apr 2010 16:31:25 -0700 (PDT) Date: Mon, 12 Apr 2010 01:31:25 +0200 Received: by 10.204.24.65 with SMTP id u1mr3755364bkb.12.1271028685884; Sun, 11 Apr 2010 16:31:25 -0700 (PDT) Message-ID: Subject: Two dimensional matrices From: Philippe To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=000325556612524cc80483fe6d71 X-Virus-Checked: Checked by ClamAV on apache.org --000325556612524cc80483fe6d71 Content-Type: text/plain; charset=ISO-8859-1 Hello, I would like to know if the following is indeed possible with Cassandra, from my understanding of key & column slices it is but I am just beggining to get my head around Cassandra... I have data that is two dimensional, time varying (think of a grid). At each cell of this grid,I store a binary array. My data model will be - single keyspace - key = {Y dimension} - super column family = {type of data represented in each cell} - super column = {time = week or month} - column ={X dimension} - value = { binary} Will I be able to retrieve all values from a rectangle from this grid in a single call to cassandra for given SCF and SC ? Will the result associate each value with its key and column ? Does it matter if it's a single call performance wise ? Thanks Philippe --000325556612524cc80483fe6d71 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I would like to know if the following is indeed p= ossible with Cassandra, from my understanding of key & column slices it= is but I am just beggining to get my head around Cassandra...


I have data that is two dimensional, time var= ying (think of a grid). At each cell of this grid,I store a binary array.
My data model will be
  • single keyspace
  • key =3D {Y dimension}
  • super column family =3D {type of data represe= nted in each cell}
  • super column =A0=3D {time =3D week or month}
  • column =3D{X dimension}
  • value =3D { binary}
Will= I be able to retrieve all values from a rectangle from this grid in a sing= le call to cassandra for given SCF and SC ? Will the result associate each = value with its key and column ?
Does it matter if it's a single call performance wise ?
=
Thanks
Philippe
--000325556612524cc80483fe6d71--