Interface CqlProvider
- All Known Subinterfaces:
AsyncCassandraTemplate.AsyncPreparedStatementHandler
,AsyncCassandraTemplate.AsyncPreparedStatementHandler
,ReactiveCassandraTemplate.ReactivePreparedStatementHandler
- All Known Implementing Classes:
AsyncCassandraTemplate.PreparedStatementHandler
,CassandraTemplate.PreparedStatementHandler
,ReactiveCassandraTemplate.PreparedStatementHandler
,SimplePreparedStatementCreator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to be implemented by objects that can provide CQL strings.
Typically implemented by PreparedStatementCreator
s and statement callbacks that want to expose the CQL they
use to create their statements, to allow for better contextual information in case of exceptions.
- Since:
- 2.0
- Author:
- Mark Paluch
- See Also:
-
Method Summary
-
Method Details
-
getCql
String getCql()Return the CQL string for this object, i.e. typically the CQL used for creating statements.- Returns:
- the CQL string.
-