Primary implementation of
CassandraOperations. It simplifies the use of Cassandra usage and helps to avoid
common errors. It executes core Cassandra workflow. This class executes CQL queries or updates, initiating iteration
ResultSet and catching Cassandra exceptions and translating them to the generic, more informative
exception hierarchy defined in the
Can be used within a service implementation via direct instantiation with a
Session reference, or get
prepared in an application context and given to services as bean reference.
Session should always be configured as a bean in the application context, in the first case given
to the service directly, in the second case to the prepared template.