Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
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.
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 fromQueryOptions
.In addition, we made all the queries generated by
Mapper
idempotent.