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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      SQLStoreConfigurationBuilder createTableIfMissing​(boolean createTableIfMissing)
      Sets the optional create table if missing configuration.
      SQLStoreConfigurationBuilder queryExecutorClass​(java.lang.Class queryExecutorClass)
      Sets the optional class for executing direct SQL queries against the database.
      SQLStoreConfigurationBuilder recordTransformerClass​(java.lang.Class recordTransformerClass)
      Sets the class for transforming between Infinispan entries (key / value pair and optional metadata) and a corresponding SQL record.
      SQLStoreConfigurationBuilder sqlDialect​(org.jooq.SQLDialect sqlDialect)
      Sets the preferred SQL dialect.
      • Methods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder

        build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, encoding, eviction, expiration, indexing, invocationBatching, jmxStatistics, locking, memory, persistence, security, simpleCache, simpleCache, sites, storeAsBinary, template, transaction, unsafe, validate, versioning
      • Methods inherited from interface org.infinispan.configuration.cache.StoreConfigurationChildBuilder

        addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, segmented, shared, singleton, transactional, withProperties
    • Method Detail

      • recordTransformerClass

        SQLStoreConfigurationBuilder recordTransformerClass​(java.lang.Class 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

        SQLStoreConfigurationBuilder queryExecutorClass​(java.lang.Class 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.