Support Lightweight Transactions in the Mapper API

Description

Would be nice to support CAS for Mapper insert/update statements, at least in the basic form of "if exists" and "if not exists".

Someone already created PR for "if not exists" option: https://github.com/datastax/java-driver/pull/626
Looks like other APIs already support this:

We definitely wish to switch to object mapping, but this is probably the main thing stopping us from using it as we use CAS a lot.

Environment

None
Fixed

Assignee

Unassigned

Reporter

Anton Koscejev

Labels

None

PM Priority

None

Affects versions

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Components

Priority

Major
Configure