You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (JIRA)" <ji...@apache.org> on 2015/12/16 15:49:46 UTC
[jira] [Updated] (CASSANDRA-9632) Preserve the Names of Query
Parameters in QueryOptions
[ https://issues.apache.org/jira/browse/CASSANDRA-9632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Lerer updated CASSANDRA-9632:
--------------------------------------
Component/s: CQL
> Preserve the Names of Query Parameters in QueryOptions
> ------------------------------------------------------
>
> Key: CASSANDRA-9632
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9632
> Project: Cassandra
> Issue Type: Improvement
> Components: CQL
> Reporter: stephen mallette
> Assignee: Benjamin Lerer
> Priority: Minor
> Fix For: 2.2.2, 3.0.0 rc1
>
> Attachments: 9632-2.2-V2.txt, 9632-2.2.txt
>
>
> When writing a custom {{QueryHandler}} that processes named parameters, the {{QueryOptions}} arrive to the various processing methods with the values converted to positional arguments and the names unavailable. A custom {{QueryHandler}} might want to make use of the names themselves so it would be helpful if they were preserved and exposed with their respective {{ByteBuffer}} values.
> https://github.com/apache/cassandra/blob/cassandra-2.1/src/java/org/apache/cassandra/cql3/QueryOptions.java#L205
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)