Class CachedPreparedStatementCreator

java.lang.Object
org.springframework.data.cassandra.core.cql.support.CachedPreparedStatementCreator
All Implemented Interfaces:
PreparedStatementCreator

@Deprecated public class CachedPreparedStatementCreator extends Object implements PreparedStatementCreator
Deprecated.
since 3.2, the Cassandra driver has a built-in prepared statement cache with makes external caching of prepared statements superfluous.
PreparedStatementCreator implementation using caching of prepared statements.

Regular CQL statements are prepared on first use and executed as prepared statements. Prepared statements are cached by Cassandra itself (invalidation/eviction possible), in the driver to be able to re-prepare a statement and in this CachedPreparedStatementCreator using PreparedStatementCache.

Since:
2.0
Author:
Mark Paluch
See Also: