Allow named parameters in simple statements

Description

We're going to need the ability to send simple statements with named parameters for upcoming DSE features.

We did a first attempt with JAVA-855, but went a bit too far with parameter getters/setters. We just need a new constructor SimpleStatement(String query, Map<String, Object> values), a new method on RegularStatement that will return the names, and the internal changes for the protocol.


Resolution: new constructor SimpleStatement(String, Map<String, Object>), and corresponding execute and executeAsync methods on Session

Environment

None

Pull Requests

None

Activity

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created January 19, 2016 at 1:12 PM
Updated January 28, 2016 at 4:36 PM
Resolved January 25, 2016 at 5:21 PM