Package org.infinispan.persistence.sql
Class QueriesJdbcStore<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.QueriesJdbcStoreConfiguration>
-
- org.infinispan.persistence.sql.QueriesJdbcStore<K,V>
-
- All Implemented Interfaces:
NonBlockingStore<K,V>
public class QueriesJdbcStore<K,V> extends AbstractSchemaJdbcStore<K,V,org.infinispan.persistence.sql.configuration.QueriesJdbcStoreConfiguration>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
QueriesJdbcStore.QueryTableOperations
-
Nested 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 Constructor Description QueriesJdbcStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TableOperations<K,V>
actualCreateTableOperations(AbstractSchemaJdbcStore.ProtoSchemaOptions<K,V,org.infinispan.persistence.sql.configuration.QueriesJdbcStoreConfiguration> options)
Implementation specific method to return a table operations which will then be used appropriately for store operations.protected AbstractSchemaJdbcStore.Parameter[]
determinePrimaryParameters(org.infinispan.persistence.sql.configuration.QueriesJdbcStoreConfiguration config, AbstractSchemaJdbcStore.Parameter[] allParameters)
-
Methods inherited from class org.infinispan.persistence.sql.AbstractSchemaJdbcStore
createTableOperations
-
Methods inherited from interface org.infinispan.persistence.spi.NonBlockingStore
addSegments, containsKey, destroy, ignoreCommandWithFlags, purgeExpired, removeSegments
-
-
-
-
Method Detail
-
actualCreateTableOperations
protected TableOperations<K,V> actualCreateTableOperations(AbstractSchemaJdbcStore.ProtoSchemaOptions<K,V,org.infinispan.persistence.sql.configuration.QueriesJdbcStoreConfiguration> options)
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.QueriesJdbcStoreConfiguration>
- Parameters:
options
- the operations for the schema for this store- Returns:
- the operations object to use
-
determinePrimaryParameters
protected AbstractSchemaJdbcStore.Parameter[] determinePrimaryParameters(org.infinispan.persistence.sql.configuration.QueriesJdbcStoreConfiguration config, AbstractSchemaJdbcStore.Parameter[] allParameters)
- Overrides:
determinePrimaryParameters
in classAbstractSchemaJdbcStore<K,V,org.infinispan.persistence.sql.configuration.QueriesJdbcStoreConfiguration>
-
-