incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: CQL3 PreparedStatement - parameterized timestamp
Date Wed, 06 Feb 2013 08:24:56 GMT
Not yet: https://issues.apache.org/jira/browse/CASSANDRA-4450

--
Sylvain


On Wed, Feb 6, 2013 at 9:06 AM, Mike Sample <mike.sample@gmail.com> wrote:

> Is there a way to re-use a prepared statement with different "using
> timestamp" values?
>
> BEGIN BATCH USING <timestamp>
> INSERT INTO Foo (a,b,c) values (?,?,?)
> ...
> APPLY BATCH;
>
> Once bound or while binding the prepared statement to specific values, I'd
> like to set the timestamp value.
>
> Putting a question mark in for timestamp failed as expected and I don't
> see a method on the DataStax java driver BoundStatement for setting it.
>
> Thanks in advance.
>
> /Mike Sample
>

Mime
View raw message