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
Fix For: 1.0
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