Hi,

 

I hit some serious limitations with prepared statement in Cassandra 1.1. The
problem is CqlPreparedResult which brings no value for high level api
builders.

 

For example, after prepare_cql_query on this query:

insert into People (firstname, lastname, birthyear) values (?, ?, ?)

 

I'd really like to discover the parameters names ('firstname', 'lastname'
and 'birthyear') with types if available from cf metadata if available.

For the moment, there is just nothing returned. Sad.

 

Knowing the names and types of the parameters could open a lot of
possibilities client side like a smart framework to feed parameters.

There is no problem with CqlResult since there is all the needed
informations.

 

Are there any plan to enhance prepared statements and specially
CqlPreparedResult ? In the current state, it's pretty limited and it's
impossible to create a great framework around prepared statement.

 

Thanks,

- Pierre

 

Reply via email to