[ 
https://issues.apache.org/jira/browse/CASSANDRA-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276232#comment-13276232
 ] 

Jonathan Ellis commented on CASSANDRA-4242:
-------------------------------------------

bq. I need this to bind parameters from various data source (which expose 
unordered named values)

Well, yes, it's definitely designed around data sources that give you ordered 
values instead. This fits at the least JDBC, Python DBAPI, and Ruby DBI.  What 
are you using that can't work with this paradigm?
                
> Name of parameters should be available in CqlPreparedResult
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-4242
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4242
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: Pierre Chalamet
>            Priority: Minor
>         Attachments: 4242.txt, 4242_2.txt
>
>
> Client side, it could be nice to have the name of parameters in 
> CqlPreparedResult. This could allow parameters mapping by name instead of by 
> index.
> {code}
> struct CqlNameType {
>     1: required binary key,
>       2: required string type
> }
> struct CqlPreparedResult {
>     1: required i32 itemId,
>     2: required i32 count,
>     3: optional list<string> variable_types,
>     4: optional list<CqlNameType> name_types
> }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to