Package org.infinispan.persistence.sql
Class TableJdbcStore<K,V>
java.lang.Object
org.infinispan.persistence.jdbc.common.impl.BaseJdbcStore<K,V,C>
org.infinispan.persistence.sql.AbstractSchemaJdbcStore<K,V,org.infinispan.persistence.sql.configuration.TableJdbcStoreConfiguration>
org.infinispan.persistence.sql.TableJdbcStore<K,V>
- All Implemented Interfaces:
NonBlockingStore<K,
V>
public class TableJdbcStore<K,V>
extends AbstractSchemaJdbcStore<K,V,org.infinispan.persistence.sql.configuration.TableJdbcStoreConfiguration>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.infinispan.persistence.sql.AbstractSchemaJdbcStore
AbstractSchemaJdbcStore.Parameter, AbstractSchemaJdbcStore.ProtoSchemaOptions<K,
V, C extends org.infinispan.persistence.sql.configuration.AbstractSchemaJdbcConfiguration>, AbstractSchemaJdbcStore.ProtostreamFieldType, AbstractSchemaJdbcStore.SchemaTableOperations<K, V, C extends org.infinispan.persistence.sql.configuration.AbstractSchemaJdbcConfiguration> Nested classes/interfaces inherited from interface org.infinispan.persistence.spi.NonBlockingStore
NonBlockingStore.Characteristic, NonBlockingStore.SegmentedPublisher<Type>
-
Field Summary
Fields inherited from interface org.infinispan.persistence.spi.NonBlockingStore
SIZE_UNAVAILABLE_FUTURE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TableOperations<K,
V> actualCreateTableOperations
(AbstractSchemaJdbcStore.ProtoSchemaOptions<K, V, org.infinispan.persistence.sql.configuration.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 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, org.infinispan.persistence.sql.configuration.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, org.infinispan.persistence.sql.configuration.TableJdbcStoreConfiguration> - Parameters:
schemaOptions
- the operations for the schema for this store- Returns:
- the operations object to use
-