Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 5079 invoked from network); 15 Dec 2009 23:20:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Dec 2009 23:20:01 -0000 Received: (qmail 98541 invoked by uid 500); 15 Dec 2009 23:20:00 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 98490 invoked by uid 500); 15 Dec 2009 23:19:59 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 98481 invoked by uid 99); 15 Dec 2009 23:19:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 23:19:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bburruss@real.com designates 207.188.23.6 as permitted sender) Received: from [207.188.23.6] (HELO jor-el.real.com) (207.188.23.6) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2009 23:19:50 +0000 Received: from seacas01.corp.real.com ([::ffff:192.168.139.56]) (TLS: TLSv1/SSLv3,128bits,AES128-SHA) by jor-el.real.com with esmtp; Tue, 15 Dec 2009 15:19:29 -0800 id 0009413B.4B281981.0000544C Received: from seambx.corp.real.com ([fe80::2d15:fda7:b3b8:e268]) by seacas01.corp.real.com ([192.168.139.56]) with mapi; Tue, 15 Dec 2009 15:19:29 -0800 From: Brian Burruss To: "cassandra-user@incubator.apache.org" Date: Tue, 15 Dec 2009 15:19:27 -0800 Subject: create only - no update Thread-Topic: create only - no update Thread-Index: AQHKfd0L9uRaIsAuv06RuBcIRkdpaw== Message-ID: <766B5A29D28DA442AB229AAEE2AFC44507D7B914EB@SEAMBX.corp.real.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org can the cassandra client (java specifically) specify that a particular "put= " should be "create only, do not update"? If the value already exists in t= he database, i want the put to fail. for instance, two users want the exac= t same username, so they both do a "get" to determine if the username alrea= dy exists, it doesn't, so they create. the last one to create wins, correc= t? thx=