Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1AC891830A for ; Mon, 24 Aug 2015 13:47:46 +0000 (UTC) Received: (qmail 45413 invoked by uid 500); 24 Aug 2015 13:47:46 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 45384 invoked by uid 500); 24 Aug 2015 13:47:45 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 45373 invoked by uid 99); 24 Aug 2015 13:47:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2015 13:47:45 +0000 Date: Mon, 24 Aug 2015 13:47:45 +0000 (UTC) From: "Benjamin Lerer (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-9632) Preserve the Names of Query Parameters in QueryOptions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-9632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709310#comment-14709310 ] Benjamin Lerer commented on CASSANDRA-9632: ------------------------------------------- Sorry, I missed that one. I will provide a new patch. > 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: Core > Reporter: stephen mallette > Assignee: Benjamin Lerer > Priority: Minor > Fix For: 2.2.x > > Attachments: 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)