You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Boris Yen <yu...@gmail.com> on 2011/07/15 04:08:20 UTC

ttl on a record?

Hi,

For now, cassandra support setting ttl on columns, is there any way to do
the same to a record/row?

Regards
Boris

Re: ttl on a record?

Posted by Boris Yen <yu...@gmail.com>.
Thanks a lot. ^^

My project can make good use of this feature.

On Fri, Jul 15, 2011 at 10:59 AM, Jonathan Ellis <jb...@gmail.com> wrote:

> On Thu, Jul 14, 2011 at 7:50 PM, Boris Yen <yu...@gmail.com> wrote:
> > Hi Jonathan,
> > In this case, will this record with no column be removed from cassandra
> > automatically?
>
> Yes.
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>

Re: ttl on a record?

Posted by Jonathan Ellis <jb...@gmail.com>.
On Thu, Jul 14, 2011 at 7:50 PM, Boris Yen <yu...@gmail.com> wrote:
> Hi Jonathan,
> In this case, will this record with no column be removed from cassandra
> automatically?

Yes.

-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Re: ttl on a record?

Posted by Boris Yen <yu...@gmail.com>.
Hi Jonathan,

In this case, will this record with no column be removed from cassandra
automatically? if no, do you have any plan on supporting it?

Regards
Boris

On Fri, Jul 15, 2011 at 10:43 AM, Jonathan Ellis <jb...@gmail.com> wrote:

> No.  Just set it on all the columns.
>
> On Thu, Jul 14, 2011 at 7:08 PM, Boris Yen <yu...@gmail.com> wrote:
> > Hi,
> > For now, cassandra support setting ttl on columns, is there any way to do
> > the same to a record/row?
> > Regards
> > Boris
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>

Re: ttl on a record?

Posted by Jonathan Ellis <jb...@gmail.com>.
No.  Just set it on all the columns.

On Thu, Jul 14, 2011 at 7:08 PM, Boris Yen <yu...@gmail.com> wrote:
> Hi,
> For now, cassandra support setting ttl on columns, is there any way to do
> the same to a record/row?
> Regards
> Boris



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com