public abstract class TableManipulationConfigurationBuilder<B extends AbstractJdbcStoreConfigurationBuilder<?,B>,S extends TableManipulationConfigurationBuilder<B,S>> extends AbstractJdbcStoreConfigurationChildBuilder<B> implements org.infinispan.commons.configuration.Builder<TableManipulationConfiguration>, org.infinispan.commons.configuration.Self<S>
Modifier and Type | Method and Description |
---|---|
S |
batchSize(int batchSize)
Repetitive DB operations this are batched according to this parameter.
|
TableManipulationConfiguration |
create() |
S |
createOnStart(boolean createOnStart)
Determines whether database tables should be created by the store on startup
|
S |
dataColumnName(String dataColumnName)
The name of the database column used to store the entries
|
S |
dataColumnType(String dataColumnType)
The type of the database column used to store the entries
|
S |
dropOnExit(boolean dropOnExit)
Determines whether database tables should be dropped by the store on shutdown
|
S |
fetchSize(int fetchSize)
For DB queries the fetch size is on
ResultSet.setFetchSize(int) . |
protected org.infinispan.configuration.cache.ConfigurationBuilder |
getBuilder() |
S |
idColumnName(String idColumnName)
The name of the database column used to store the keys
|
S |
idColumnType(String idColumnType)
The type of the database column used to store the keys
|
org.infinispan.commons.configuration.Builder<?> |
read(TableManipulationConfiguration template) |
S |
tableNamePrefix(String tableNamePrefix)
Sets the prefix for the name of the table where the data will be stored.
|
S |
timestampColumnName(String timestampColumnName)
The name of the database column used to store the timestamps
|
S |
timestampColumnType(String timestampColumnType)
The type of the database column used to store the timestamps
|
String |
toString() |
void |
validate() |
void |
validate(org.infinispan.configuration.global.GlobalConfiguration globalConfig) |
connectionFactory, connectionFactory, connectionPool, dataSource, simpleConnection
addProperty, async, fetchPersistentState, ignoreModifications, preload, purgeOnStartup, shared, singleton, withProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
persistence
build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, eviction, expiration, indexing, invocationBatching, jmxStatistics, locking, security, simpleCache, simpleCache, sites, storeAsBinary, template, transaction, unsafe, versioning
public S batchSize(int batchSize)
TableManager#DEFAULT_BATCH_SIZE
.public S fetchSize(int fetchSize)
ResultSet.setFetchSize(int)
. This is optional
parameter, if not specified will be defaulted to TableManager#DEFAULT_FETCH_SIZE
.public S tableNamePrefix(String tableNamePrefix)
public S createOnStart(boolean createOnStart)
public S dropOnExit(boolean dropOnExit)
public S idColumnName(String idColumnName)
public S idColumnType(String idColumnType)
public S dataColumnName(String dataColumnName)
public S dataColumnType(String dataColumnType)
public S timestampColumnName(String timestampColumnName)
public S timestampColumnType(String timestampColumnType)
public void validate()
validate
in interface org.infinispan.commons.configuration.Builder<TableManipulationConfiguration>
public void validate(org.infinispan.configuration.global.GlobalConfiguration globalConfig)
validate
in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
public TableManipulationConfiguration create()
create
in interface org.infinispan.commons.configuration.Builder<TableManipulationConfiguration>
public org.infinispan.commons.configuration.Builder<?> read(TableManipulationConfiguration template)
read
in interface org.infinispan.commons.configuration.Builder<TableManipulationConfiguration>
protected org.infinispan.configuration.cache.ConfigurationBuilder getBuilder()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.