Interface ExecutableUpdateOperation

All Known Subinterfaces:
CassandraAdminOperations, CassandraOperations, FluentCassandraOperations
All Known Implementing Classes:
CassandraAdminTemplate, CassandraTemplate

public interface ExecutableUpdateOperation
ExecutableUpdateOperation allows creation and execution of Cassandra UPDATE operation in a fluent API style.

The starting domainType is used for mapping the Query provided via matching, as well as the Update provided via apply into the Cassandra specific representations. The table to operate on is by default derived from the initial domainType and can be defined there via Table. Using inTable allows the developer to override the table name for the execution.

     
         update(Jedi.class)
             .inTable("star_wars")
             .matching(query(where("firstname").is("luke")))
             .apply(update("lastname", "skywalker"))
             .all();
     
 
Since:
2.1
Author:
Mark Paluch, John Blum
See Also: