Class AbstractSchemaJdbcStore<K,V,C extends AbstractSchemaJdbcConfiguration>

java.lang.Object
org.infinispan.persistence.jdbc.common.impl.BaseJdbcStore<K,V,C>
org.infinispan.persistence.sql.AbstractSchemaJdbcStore<K,V,C>
All Implemented Interfaces:
org.infinispan.persistence.spi.NonBlockingStore<K,V>
Direct Known Subclasses:
QueriesJdbcStore, TableJdbcStore

public abstract class AbstractSchemaJdbcStore<K,V,C extends AbstractSchemaJdbcConfiguration> extends org.infinispan.persistence.jdbc.common.impl.BaseJdbcStore<K,V,C>
  • Constructor Details

    • AbstractSchemaJdbcStore

      public AbstractSchemaJdbcStore()
  • Method Details

    • createTableOperations

      protected org.infinispan.persistence.jdbc.common.TableOperations<K,V> createTableOperations(org.infinispan.persistence.spi.InitializationContext ctx, C config) throws SQLException
      Specified by:
      createTableOperations in class org.infinispan.persistence.jdbc.common.impl.BaseJdbcStore<K,V,C extends AbstractSchemaJdbcConfiguration>
      Throws:
      SQLException
    • determinePrimaryParameters

      protected AbstractSchemaJdbcStore.Parameter[] determinePrimaryParameters(C config, AbstractSchemaJdbcStore.Parameter[] allParameters)
    • actualCreateTableOperations

      protected abstract org.infinispan.persistence.jdbc.common.TableOperations<K,V> actualCreateTableOperations(AbstractSchemaJdbcStore.ProtoSchemaOptions<K,V,C> schemaOptions)
      Implementation specific method to return a table operations which will then be used appropriately for store operations. It is recommended to extend AbstractSchemaJdbcStore.SchemaTableOperations providing ways to retrieve the statements needed.
      Parameters:
      schemaOptions - the operations for the schema for this store
      Returns:
      the operations object to use