Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-9632

Preserve the Names of Query Parameters in QueryOptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.2.2, 3.0.0 rc1
    • Legacy/CQL
    • None

    Description

      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

      Attachments

        1. 9632-2.2.txt
          7 kB
          Benjamin Lerer
        2. 9632-2.2-V2.txt
          10 kB
          Benjamin Lerer

        Activity

          People

            blerer Benjamin Lerer
            spmallette Stephen Mallette
            Benjamin Lerer
            Sam Tunnicliffe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: