Position idempotent flag in object mapper queries

Description

We would like to use the new driver feature "speculative query execution" for some of our queries (http://datastax.github.io/java-driver/2.1.7/features/speculative_execution/). Unfortunately we found no way to execute our Accessor queries with the setIdempotent=true flag.

It would be great if you could add support for setIdempotent() in Accessor queries. Probably via the QueryParameter annotation.


Resolution:
Added @QueryParameters(idempotent=true) as you suggested. If not set, the default will be taken from QueryOptions.
In addition, we made all the queries generated by Mapper idempotent.

Environment

None

Pull Requests

None

Status

Assignee

Alexandre Dutra

Reporter

Philip Stroh

Labels

None

PM Priority

None

Affects versions

None

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Components

Sprint

Priority

Major
Configure