incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Burruss <>
Subject create only - no update
Date Tue, 15 Dec 2009 23:19:27 GMT
can the cassandra client (java specifically) specify that a particular "put" should be "create
only, do not update"?  If the value already exists in the database, i want the put to fail.
 for instance, two users want the exact same username, so they both do a "get" to determine
if the username already exists, it doesn't, so they create.  the last one to create wins,

View raw message