Re: column’s timestamp
That would work, with the caveat that you'd have to delete it and re-insert if you want to preserve that relationship on update. On Mon, Apr 2, 2012 at 12:18 PM, Pierre Chalamet wrote: > Hi, > > What about using a ts as column name and do a get sliced instead ? > > > --Original Message-- > From: Avi-h > To: cassandra-u...@incubator.apache.org > ReplyTo: user@cassandra.apache.org > Subject: column’s timestamp > Sent: Apr 2, 2012 18:24 > > Is it possible to fetch a column based on the row key and the column’s > timestamp only (not using the column’s name)? > > -- > View this message in context: > http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/column-s-timestamp-tp7429905p7429905.html > Sent from the cassandra-u...@incubator.apache.org mailing list archive at > Nabble.com. > > > - Pierre -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com
Re: column’s timestamp
Hi, What about using a ts as column name and do a get sliced instead ? --Original Message-- From: Avi-h To: cassandra-u...@incubator.apache.org ReplyTo: user@cassandra.apache.org Subject: column’s timestamp Sent: Apr 2, 2012 18:24 Is it possible to fetch a column based on the row key and the column’s timestamp only (not using the column’s name)? -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/column-s-timestamp-tp7429905p7429905.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com. - Pierre
Re: column’s timestamp
On Mon, Apr 2, 2012 at 11:24 AM, Avi-h wrote: > Is it possible to fetch a column based on the row key and the column’s > timestamp only (not using the column’s name)? > No, but most clients support including the timestamp in the result set, so you can filter the columns by timestamp from there. Otherwise, your best bet is including the timestamp in the column name. -- Tyler Hobbs DataStax <http://datastax.com/>
column’s timestamp
Is it possible to fetch a column based on the row key and the column’s timestamp only (not using the column’s name)? -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/column-s-timestamp-tp7429905p7429905.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.