Package org.infinispan.persistence.sql
Class TableJdbcStore<K,V>
java.lang.Object
org.infinispan.persistence.jdbc.common.impl.BaseJdbcStore<K,V,TableJdbcStoreConfiguration>
org.infinispan.persistence.sql.AbstractSchemaJdbcStore<K,V,TableJdbcStoreConfiguration>
org.infinispan.persistence.sql.TableJdbcStore<K,V>
- All Implemented Interfaces:
NonBlockingStore<K,
V>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.infinispan.persistence.sql.AbstractSchemaJdbcStore
AbstractSchemaJdbcStore.Parameter, AbstractSchemaJdbcStore.ProtoSchemaOptions<K,
V, C extends AbstractSchemaJdbcConfiguration>, AbstractSchemaJdbcStore.ProtostreamFieldType, AbstractSchemaJdbcStore.SchemaTableOperations<K, V, C extends AbstractSchemaJdbcConfiguration> Nested classes/interfaces inherited from interface org.infinispan.persistence.spi.NonBlockingStore
NonBlockingStore.Characteristic, NonBlockingStore.SegmentedPublisher<Type>
-
Field Summary
Fields inherited from class org.infinispan.persistence.jdbc.common.impl.BaseJdbcStore
blockingManager, config, connectionFactory, tableOperations, transactionConnectionMap
Fields inherited from interface org.infinispan.persistence.spi.NonBlockingStore
SIZE_UNAVAILABLE_FUTURE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected TableOperations
<K, V> actualCreateTableOperations
(AbstractSchemaJdbcStore.ProtoSchemaOptions<K, V, TableJdbcStoreConfiguration> schemaOptions) Implementation specific method to return a table operations which will then be used appropriately for store operations.Methods inherited from class org.infinispan.persistence.sql.AbstractSchemaJdbcStore
createTableOperations, determinePrimaryParameters
Methods inherited from class org.infinispan.persistence.jdbc.common.impl.BaseJdbcStore
approximateSize, batch, characteristics, clear, commit, delete, destroyTxConnection, extraStopSteps, getTxConnection, isAvailable, load, prepareWithModifications, publishEntries, publishKeys, rollback, size, start, stop, write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.infinispan.persistence.spi.NonBlockingStore
addSegments, containsKey, destroy, ignoreCommandWithFlags, purgeExpired, removeSegments
-
Constructor Details
-
TableJdbcStore
public TableJdbcStore()
-
-
Method Details
-
actualCreateTableOperations
protected TableOperations<K,V> actualCreateTableOperations(AbstractSchemaJdbcStore.ProtoSchemaOptions<K, V, TableJdbcStoreConfiguration> schemaOptions) Description copied from class:AbstractSchemaJdbcStore
Implementation specific method to return a table operations which will then be used appropriately for store operations. It is recommended to extendAbstractSchemaJdbcStore.SchemaTableOperations
providing ways to retrieve the statements needed.- Specified by:
actualCreateTableOperations
in classAbstractSchemaJdbcStore<K,
V, TableJdbcStoreConfiguration> - Parameters:
schemaOptions
- the operations for the schema for this store- Returns:
- the operations object to use
-