Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 37713 invoked from network); 26 Jul 2010 04:51:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Jul 2010 04:51:12 -0000 Received: (qmail 79185 invoked by uid 500); 26 Jul 2010 04:51:11 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 78942 invoked by uid 500); 26 Jul 2010 04:51:07 -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 78934 invoked by uid 99); 26 Jul 2010 04:51:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jul 2010 04:51:06 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.179] (HELO mail-qy0-f179.google.com) (209.85.216.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jul 2010 04:50:59 +0000 Received: by qyk8 with SMTP id 8so1662549qyk.10 for ; Sun, 25 Jul 2010 21:50:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.107.138 with SMTP id b10mr5527638qap.244.1280119837658; Sun, 25 Jul 2010 21:50:37 -0700 (PDT) Received: by 10.229.61.101 with HTTP; Sun, 25 Jul 2010 21:50:37 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 Jul 2010 21:50:37 -0700 Message-ID: Subject: Re: Can we filter a key or a column name using regular expression? From: Benjamin Black To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Nope. On Sun, Jul 25, 2010 at 6:05 AM, Miriam Allalouf wrote: > Hi, > I need to build a mode where I can retrieve an ordered list of objects > sharing the same prefix and contains a certain delimiter. > > For example: =A0Get all the object names that start with 'root' and > contain '/' in it, > given the names: > root@abc/ddd > roo@bbb/c > root@pppp > > should return the first two names (root@abc/ddd =A0roo@bbb/c) > > I can build the model such that the a lot object name is a key or a colum= n name. > Can we =A0retrieve a key or a column name using such filter or other > regular expression-like filters? > Thanks and I will appreciate =A0you help, > Miriam >