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

Allow usage of QueryOptions in CQLStatement.executeInternal

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1 rc1
    • Legacy/CQL
    • None

    Description

      The current implementations of CQLStatement.executeInternal accept only QueryState as a parameter. That means it's impossible to use prepared statements with variables for internal calls (you can only pass the variables via QueryOptions). We also can't use the internal paging in internal "SELECT" statements for the very same reason.

      I'm attaching the patch which implements that.

      slebresne iamaleksey what do you think guys?

      Attachments

        1. cassandra-2.1-executeInternal.patch
          21 kB
          Mikhail Stepura

        Issue Links

          Activity

            People

              slebresne Sylvain Lebresne
              mishail Mikhail Stepura
              Sylvain Lebresne
              Mikhail Stepura
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: