cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-2884) CQL processing engine should provide server side data binding to pre-compiled CQL scripts
Date Tue, 30 Aug 2011 02:16:37 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis resolved CASSANDRA-2884.
---------------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: 1.0)

> CQL processing engine should provide server side data binding to pre-compiled CQL scripts
> -----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2884
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2884
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API
>    Affects Versions: 0.8.1
>            Reporter: Rick Shaw
>              Labels: API, CQL
>
> The notion of "Prepared" statements is derived from JDBC lore, but is equally useful
for the other supported clients of CQL. In order to support server-side binding and pre-compiled
code referenceable from the client side, the API (currently Thrift based) will need to be
enhanced to pass both script (CQL) and the binding arguments to the server. In addition the
parser will need to recognize the place holders for the bound variables ("?"). And the product
of the parse will need to be savable and a reference or handle will need to be returned to
the client side caller. The execution of C* API calls will need to be moved from the parsers
action routines where it is currently executed as the script is parsed, and moved to another
"execution" engine that calls API methods and uses the bound variables and the stored pre-compiled
code to drive the process.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message