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

Name of parameters should be available in CqlPreparedResult

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.1
    • None
    • None

    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.

      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
      }
      

      Attachments

        1. 4242.txt
          146 kB
          Pierre Chalamet
        2. 4242_4.txt
          17 kB
          Pierre Chalamet
        3. 4242_3.txt
          15 kB
          Pierre Chalamet
        4. 4242_2.txt
          13 kB
          Pierre Chalamet

        Activity

          People

            pchalamet Pierre Chalamet
            pchalamet Pierre Chalamet
            Pierre Chalamet
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: