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,QueriesJdbcStoreConfiguration>
org.infinispan.persistence.sql.QueriesJdbcStore<K,V>
- All Implemented Interfaces:
NonBlockingStore<K,
V>
public class QueriesJdbcStore<K,V>
extends AbstractSchemaJdbcStore<K,V,QueriesJdbcStoreConfiguration>
-
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, log, 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, QueriesJdbcStoreConfiguration> options) Implementation specific method to return a table operations which will then be used appropriately for store operations.protected AbstractSchemaJdbcStore.Parameter[]
determinePrimaryParameters
(QueriesJdbcStoreConfiguration config, AbstractSchemaJdbcStore.Parameter[] allParameters) Methods inherited from class org.infinispan.persistence.sql.AbstractSchemaJdbcStore
createTableOperations
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
-
QueriesJdbcStore
public QueriesJdbcStore()
-
-
Method Details
-
actualCreateTableOperations
protected TableOperations<K,V> actualCreateTableOperations(AbstractSchemaJdbcStore.ProtoSchemaOptions<K, V, 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, QueriesJdbcStoreConfiguration> - Parameters:
options
- the operations for the schema for this store- Returns:
- the operations object to use
-
determinePrimaryParameters
protected AbstractSchemaJdbcStore.Parameter[] determinePrimaryParameters(QueriesJdbcStoreConfiguration config, AbstractSchemaJdbcStore.Parameter[] allParameters) - Overrides:
determinePrimaryParameters
in classAbstractSchemaJdbcStore<K,
V, QueriesJdbcStoreConfiguration>
-