Interface ReactiveSelectOperation

All Known Subinterfaces:
ReactiveCassandraOperations, ReactiveFluentCassandraOperations
All Known Implementing Classes:
ReactiveCassandraTemplate

public interface ReactiveSelectOperation
The ReactiveSelectOperation interface allows creation and execution of Cassandra SELECT operations in a fluent API style.

The starting domainType is used for mapping the Query provided via matching int the Cassandra specific representation. By default, the originating domainType is also used for mapping back the result from the Row. However, it is possible to define an different returnType via as to mapping the result.

By default, the table to operate on is derived from the initial domainType and can be defined there via the Table annotation. Using inTable allows a developer to override the table name for the execution.

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