Interface SQLStoreConfigurationChildBuilder<S>

All Superinterfaces:
org.infinispan.configuration.cache.ConfigurationChildBuilder, org.infinispan.configuration.cache.StoreConfigurationChildBuilder<S>
All Known Implementing Classes:
SQLStoreConfigurationBuilder

public interface SQLStoreConfigurationChildBuilder<S> extends org.infinispan.configuration.cache.StoreConfigurationChildBuilder<S>
SQL store configuration child builder.
  • Method Details

    • recordTransformerClass

      Sets the class for transforming between Infinispan entries (key / value pair and optional metadata) and a corresponding SQL record.
      Parameters:
      recordTransformerClass - The record transformer class. Must not be null.
      Returns:
      The builder.
    • queryExecutorClass

      Sets the optional class for executing direct SQL queries against the database.
      Parameters:
      queryExecutorClass - The query executor class, null if not specified.
      Returns:
      The builder.
    • sqlDialect

      SQLStoreConfigurationBuilder sqlDialect(org.jooq.SQLDialect sqlDialect)
      Sets the preferred SQL dialect.
      Parameters:
      sqlDialect - The preferred SQL dialect. Must not be null.
      Returns:
      The builder.
    • createTableIfMissing

      SQLStoreConfigurationBuilder createTableIfMissing(boolean createTableIfMissing)
      Sets the optional create table if missing configuration.
      Parameters:
      createTableIfMissing - true to create the underlying SQL table(s) if they are missing (the default setting), false to skip this check.
      Returns:
      The builder.
    • createTableIgnoreErrors

      SQLStoreConfigurationBuilder createTableIgnoreErrors(boolean createTableIgnoreErrors)
      Sets the optional create table ignore errors configuration.
      Parameters:
      createTableIgnoreErrors - true to ignore create table errors, false to treat them as fatal.
      Returns:
      The builder.
    • connectionPool

      Sets the optional connection pool reference.
      Parameters:
      cacheName - The cache name for which to use its SQL store connection pool, null if not specified.
      Returns:
      The builder.
    • expiredQueryPageLimit

      Sets the page limit in SQL queries to select expired records.
      Parameters:
      pageLimit - The page limit in SQL queries to select expired records.
      Returns:
      The page limit in SQL queries to select expired records.