Re: Setting column to null

2012-06-12 Thread Derek Williams
On Tue, Jun 12, 2012 at 9:59 AM, Leonid Ilyevsky wrote: > Thanks Roshni, > > I actually looked at Hector, didn't like it that much. Too many methods, > feels like there are ten ways to do the same thing, but very difficult to > find the one you need. Many packages look like they are simply migra

RE: Setting column to null

2012-06-12 Thread Leonid Ilyevsky
.@wal-mart.com] Sent: Tuesday, June 12, 2012 1:20 AM To: user@cassandra.apache.org Subject: Re: Setting column to null Leonid, Are you using some client for doing these operations..? Hector is a java client which provides APIs for adding/deleting columns to a column family in cassandra. I don¹t

Re: Setting column to null

2012-06-11 Thread Roshni Rajagopal
>-Original Message- >From: Roshni Rajagopal [mailto:roshni.rajago...@wal-mart.com] >Sent: Monday, June 11, 2012 12:58 AM >To: user@cassandra.apache.org >Subject: Re: Setting column to null > >Would you want to view data like this "there was a key, which had this &g

RE: Setting column to null

2012-06-11 Thread Leonid Ilyevsky
gopal [mailto:roshni.rajago...@wal-mart.com] Sent: Monday, June 11, 2012 12:58 AM To: user@cassandra.apache.org Subject: Re: Setting column to null Would you want to view data like this "there was a key, which had this column , but now it does not have any value as of this time." Unless you specifi

Re: Setting column to null

2012-06-10 Thread Roshni Rajagopal
Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Setting column to null Your best bet

Re: Setting column to null

2012-06-08 Thread Edward Capriolo
Your best bet is to define the column as a composite column where one part represents is null and the other part is the data. On Friday, June 8, 2012, shashwat shriparv wrote: > What you can do is you can define some specific variable like "NULLDATA" some thing like that to update in columns that

Re: Setting column to null

2012-06-08 Thread shashwat shriparv
What you can do is you can define some specific variable like "NULLDATA" some thing like that to update in columns that does have value On Fri, Jun 8, 2012 at 11:58 PM, aaron morton wrote: > You don't nee to set columns to null, delete the column instead. > > Cheers > > - > Aaro

Re: Setting column to null

2012-06-08 Thread aaron morton
You don't nee to set columns to null, delete the column instead. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 8/06/2012, at 9:34 AM, Leonid Ilyevsky wrote: > Is it possible to explicitly set a column value to null? > > I see that if in

Setting column to null

2012-06-07 Thread Leonid Ilyevsky
Is it possible to explicitly set a column value to null? I see that if insert statement does not include a specific column, that column comes up as null (assuming we are creating a record with new unique key). But if we want to update a record, how we set it to null? Another situation is when I