cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Chalamet (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4242) Name of parameters should be available in CqlPreparedResult
Date Sun, 13 May 2012 07:20:49 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-4242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pierre Chalamet updated CASSANDRA-4242:
---------------------------------------

    Description: 
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}

  was:
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 CqlPreparedResult {
    1: required i32 itemId,
    2: required i32 count,
    3: optional list<string> variable_types
>>  4: optional map<binary,string> name_types  <<
}
{code}

    
> 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
>
>
> 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

        

Mime
View raw message