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 ClassesNested 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, transactionConnectionMapFields 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, 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
createTableOperationsMethods 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, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:AbstractSchemaJdbcStoreImplementation specific method to return a table operations which will then be used appropriately for store operations. It is recommended to extendAbstractSchemaJdbcStore.SchemaTableOperationsproviding ways to retrieve the statements needed.- Specified by:
actualCreateTableOperationsin 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:
determinePrimaryParametersin classAbstractSchemaJdbcStore<K,V, QueriesJdbcStoreConfiguration>
-