Interface SQLStoreConfigurationChildBuilder<S>
- All Superinterfaces:
org.infinispan.configuration.cache.ConfigurationChildBuilder
,org.infinispan.configuration.cache.StoreConfigurationChildBuilder<S>
- All Known Implementing Classes:
SQLStoreConfigurationBuilder
public interface SQLStoreConfigurationChildBuilder<S>
extends org.infinispan.configuration.cache.StoreConfigurationChildBuilder<S>
SQL store configuration child builder.
-
Method Summary
Modifier and TypeMethodDescriptionconnectionPool
(String cacheName) Sets the optional connection pool reference.createTableIfMissing
(boolean createTableIfMissing) Sets the optional create table if missing configuration.createTableIgnoreErrors
(boolean createTableIgnoreErrors) Sets the optional create table ignore errors configuration.expiredQueryPageLimit
(int pageLimit) Sets the page limit in SQL queries to select expired records.queryExecutorClass
(Class queryExecutorClass) Sets the optional class for executing direct SQL queries against the database.recordTransformerClass
(Class recordTransformerClass) Sets the class for transforming between Infinispan entries (key / value pair and optional metadata) and a corresponding SQL record.sqlDialect
(org.jooq.SQLDialect sqlDialect) Sets the preferred SQL dialect.Methods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder
build, clustering, customInterceptors, encoding, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, query, security, simpleCache, simpleCache, sites, statistics, template, transaction, unsafe, validate
Methods inherited from interface org.infinispan.configuration.cache.StoreConfigurationChildBuilder
addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, segmented, shared, transactional, withProperties, writeOnly
-
Method Details
-
recordTransformerClass
Sets the class for transforming between Infinispan entries (key / value pair and optional metadata) and a corresponding SQL record.- Parameters:
recordTransformerClass
- The record transformer class. Must not benull
.- Returns:
- The builder.
-
queryExecutorClass
Sets the optional class for executing direct SQL queries against the database.- Parameters:
queryExecutorClass
- The query executor class,null
if not specified.- Returns:
- The builder.
-
sqlDialect
Sets the preferred SQL dialect.- Parameters:
sqlDialect
- The preferred SQL dialect. Must not benull
.- Returns:
- The builder.
-
createTableIfMissing
Sets the optional create table if missing configuration.- Parameters:
createTableIfMissing
-true
to create the underlying SQL table(s) if they are missing (the default setting),false
to skip this check.- Returns:
- The builder.
-
createTableIgnoreErrors
Sets the optional create table ignore errors configuration.- Parameters:
createTableIgnoreErrors
-true
to ignore create table errors,false
to treat them as fatal.- Returns:
- The builder.
-
connectionPool
Sets the optional connection pool reference.- Parameters:
cacheName
- The cache name for which to use its SQL store connection pool,null
if not specified.- Returns:
- The builder.
-
expiredQueryPageLimit
Sets the page limit in SQL queries to select expired records.- Parameters:
pageLimit
- The page limit in SQL queries to select expired records.- Returns:
- The page limit in SQL queries to select expired records.
-