Class QueriesJdbcConfigurationBuilder<S extends AbstractJdbcStoreConfigurationBuilder<?,S>> 
java.lang.Object
org.infinispan.configuration.cache.AbstractPersistenceConfigurationChildBuilder
org.infinispan.configuration.cache.AbstractStoreConfigurationChildBuilder<S>
org.infinispan.persistence.jdbc.common.configuration.AbstractJdbcStoreConfigurationChildBuilder<S>
org.infinispan.persistence.sql.configuration.QueriesJdbcConfigurationBuilder<S>
- All Implemented Interfaces:
- Builder<QueriesJdbcConfiguration>,- ConfigurationChildBuilder,- LoaderConfigurationChildBuilder<S>,- PersistenceConfigurationChildBuilder,- StoreConfigurationChildBuilder<S>,- JdbcStoreConfigurationChildBuilder<S>
public class QueriesJdbcConfigurationBuilder<S extends AbstractJdbcStoreConfigurationBuilder<?,S>> 
extends AbstractJdbcStoreConfigurationChildBuilder<S>
implements Builder<QueriesJdbcConfiguration>
QueriesJdbcConfigurationBuilder.
- Since:
- 13.0
- Author:
- William Burns
- 
Constructor SummaryConstructorsConstructorDescription
- 
Method SummaryModifier and TypeMethodDescriptionbuild()create()Create the configuration beanDeprecated, for removal: This API element is subject to removal in a future version.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptorsConfigures the delete statement to be used when removing entries from the database.Configures the delete all statement to be used when clearing the store.encoding()protected ConfigurationBuilderindexing()locking()memory()query()Builder<?>read(QueriesJdbcConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.security()Configures the select statement to be used when reading entries from the database.Configures the select all statement to be used when reading all entries from the database.booleansimpleCache(boolean simpleCache) sites()Configures the size statement to be used when determining the size of the store.template(boolean template) unsafe()Configures the upsert statement to be used when writing entries to the database.voidvalidate()Validate the data in this builder before building the configuration beanvoidvalidate(boolean isLoader) Methods inherited from class org.infinispan.persistence.jdbc.common.configuration.AbstractJdbcStoreConfigurationChildBuilderconnectionFactory, connectionFactory, connectionPool, dataSource, simpleConnectionMethods inherited from class org.infinispan.configuration.cache.AbstractStoreConfigurationChildBuilderaddProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, segmented, shared, transactional, withProperties, writeOnlyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilderbuild, clustering, customInterceptors, encoding, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, query, security, simpleCache, simpleCache, sites, statistics, template, transaction, unsafe, validateMethods inherited from interface org.infinispan.configuration.cache.PersistenceConfigurationChildBuilderpersistence
- 
Constructor Details- 
QueriesJdbcConfigurationBuilder
 
- 
- 
Method Details- 
attributes- Specified by:
- attributesin interface- Builder<S extends AbstractJdbcStoreConfigurationBuilder<?,- S>> 
 
- 
selectConfigures the select statement to be used when reading entries from the database. Note all parameters must be named (i.e. :myname) and the parameters must be the same name and order as the one provided todelete(String).- Parameters:
- select- the select statement to use
- Returns:
- this
 
- 
selectAllConfigures the select all statement to be used when reading all entries from the database. No parameters may be used.- Parameters:
- selectAll- the select all statement to use
- Returns:
- this
 
- 
deleteConfigures the delete statement to be used when removing entries from the database. Note all parameters must be named (i.e. :myname) and the parameters must be the same name and order as the one provided toselect(String).- Parameters:
- delete- the delete statement to use
- Returns:
- this
 
- 
deleteAllConfigures the delete all statement to be used when clearing the store. No parameters may be used.- Parameters:
- deleteAll- the delete all statement to use
- Returns:
- this
 
- 
upsertConfigures the upsert statement to be used when writing entries to the database. Note all parameters must be named (i.e. :myname).- Parameters:
- upsert- the upsert statement to use
- Returns:
- this
 
- 
sizeConfigures the size statement to be used when determining the size of the store. No parameters may be used.- Parameters:
- size- the size statement to use
- Returns:
- this
 
- 
validatepublic void validate()Description copied from interface:BuilderValidate the data in this builder before building the configuration bean- Specified by:
- validatein interface- Builder<S extends AbstractJdbcStoreConfigurationBuilder<?,- S>> 
 
- 
validatepublic void validate(boolean isLoader) 
- 
createDescription copied from interface:BuilderCreate the configuration bean- Specified by:
- createin interface- Builder<S extends AbstractJdbcStoreConfigurationBuilder<?,- S>> 
- Returns:
 
- 
readDescription copied from interface:BuilderReads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
- readin interface- Builder<S extends AbstractJdbcStoreConfigurationBuilder<?,- S>> 
- Parameters:
- template- the configuration from which to "clone" this config if needed.
- combine- the way attributes and children of this instance and the template should be combined.
 
- 
template- Specified by:
- templatein interface- ConfigurationChildBuilder
 
- 
simpleCache- Specified by:
- simpleCachein interface- ConfigurationChildBuilder
 
- 
simpleCachepublic boolean simpleCache()- Specified by:
- simpleCachein interface- ConfigurationChildBuilder
 
- 
clustering- Specified by:
- clusteringin interface- ConfigurationChildBuilder
 
- 
customInterceptorsDeprecated, for removal: This API element is subject to removal in a future version.Since 10.0, custom interceptors support will be removed and only modules will be able to define interceptors- Specified by:
- customInterceptorsin interface- ConfigurationChildBuilder
 
- 
encoding- Specified by:
- encodingin interface- ConfigurationChildBuilder
 
- 
expiration- Specified by:
- expirationin interface- ConfigurationChildBuilder
 
- 
query- Specified by:
- queryin interface- ConfigurationChildBuilder
 
- 
indexing- Specified by:
- indexingin interface- ConfigurationChildBuilder
 
- 
invocationBatching- Specified by:
- invocationBatchingin interface- ConfigurationChildBuilder
 
- 
statistics- Specified by:
- statisticsin interface- ConfigurationChildBuilder
 
- 
persistence- Specified by:
- persistencein interface- ConfigurationChildBuilder
 
- 
locking- Specified by:
- lockingin interface- ConfigurationChildBuilder
 
- 
security- Specified by:
- securityin interface- ConfigurationChildBuilder
 
- 
transaction- Specified by:
- transactionin interface- ConfigurationChildBuilder
 
- 
unsafe- Specified by:
- unsafein interface- ConfigurationChildBuilder
 
- 
sites- Specified by:
- sitesin interface- ConfigurationChildBuilder
 
- 
memory- Specified by:
- memoryin interface- ConfigurationChildBuilder
 
- 
getBuilder
- 
build- Specified by:
- buildin interface- ConfigurationChildBuilder
 
 
-