Class TableManipulationConfigurationBuilder<B extends AbstractJdbcStoreConfigurationBuilder<?,​B>,​S extends TableManipulationConfigurationBuilder<B,​S>>

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      S batchSize​(int batchSize)
      Deprecated.
      Please use AbstractStoreConfigurationBuilder.maxBatchSize(int) instead.
      org.infinispan.configuration.cache.Configuration build()  
      org.infinispan.configuration.cache.ClusteringConfigurationBuilder clustering()  
      org.infinispan.configuration.cache.CompatibilityModeConfigurationBuilder compatibility()  
      TableManipulationConfiguration create()  
      S createOnStart​(boolean createOnStart)
      Determines whether database tables should be created by the store on startup
      org.infinispan.configuration.cache.CustomInterceptorsConfigurationBuilder customInterceptors()  
      S dataColumnName​(String dataColumnName)
      The name of the database column used to store the entries
      S dataColumnType​(String dataColumnType)
      The type of the database column used to store the entries
      org.infinispan.configuration.cache.DataContainerConfigurationBuilder dataContainer()  
      org.infinispan.configuration.cache.DeadlockDetectionConfigurationBuilder deadlockDetection()  
      S dropOnExit​(boolean dropOnExit)
      Determines whether database tables should be dropped by the store on shutdown
      org.infinispan.configuration.cache.EncodingConfigurationBuilder encoding()  
      org.infinispan.configuration.cache.EvictionConfigurationBuilder eviction()  
      org.infinispan.configuration.cache.ExpirationConfigurationBuilder expiration()  
      S fetchSize​(int fetchSize)
      For DB queries the fetch size is on ResultSet.setFetchSize(int).
      protected org.infinispan.configuration.cache.ConfigurationBuilder getBuilder()  
      S idColumnName​(String idColumnName)
      The name of the database column used to store the keys
      S idColumnType​(String idColumnType)
      The type of the database column used to store the keys
      org.infinispan.configuration.cache.IndexingConfigurationBuilder indexing()  
      org.infinispan.configuration.cache.InvocationBatchingConfigurationBuilder invocationBatching()  
      org.infinispan.configuration.cache.JMXStatisticsConfigurationBuilder jmxStatistics()  
      org.infinispan.configuration.cache.LockingConfigurationBuilder locking()  
      org.infinispan.configuration.cache.MemoryConfigurationBuilder memory()  
      org.infinispan.configuration.cache.PersistenceConfigurationBuilder persistence()  
      org.infinispan.commons.configuration.Builder<?> read​(TableManipulationConfiguration template)  
      org.infinispan.configuration.cache.SecurityConfigurationBuilder security()  
      boolean simpleCache()  
      org.infinispan.configuration.cache.ConfigurationChildBuilder simpleCache​(boolean arg0)  
      org.infinispan.configuration.cache.SitesConfigurationBuilder sites()  
      org.infinispan.configuration.cache.StoreAsBinaryConfigurationBuilder storeAsBinary()
      Deprecated.
      S tableNamePrefix​(String tableNamePrefix)
      Sets the prefix for the name of the table where the data will be stored.
      org.infinispan.configuration.cache.ConfigurationChildBuilder template​(boolean arg0)  
      S timestampColumnName​(String timestampColumnName)
      The name of the database column used to store the timestamps
      S timestampColumnType​(String timestampColumnType)
      The type of the database column used to store the timestamps
      String toString()  
      org.infinispan.configuration.cache.TransactionConfigurationBuilder transaction()  
      org.infinispan.configuration.cache.UnsafeConfigurationBuilder unsafe()  
      void validate()  
      void validate​(org.infinispan.configuration.global.GlobalConfiguration globalConfig)  
      org.infinispan.configuration.cache.VersioningConfigurationBuilder versioning()  
      • Methods inherited from class org.infinispan.configuration.cache.AbstractStoreConfigurationChildBuilder

        addProperty, async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, purgeOnStartup, shared, singleton, transactional, withProperties
      • Methods inherited from interface org.infinispan.configuration.cache.ConfigurationChildBuilder

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

        persistence
      • Methods inherited from interface org.infinispan.commons.configuration.Self

        self
    • Method Detail

      • batchSize

        @Deprecated
        public S batchSize​(int batchSize)
        Deprecated.
        Please use AbstractStoreConfigurationBuilder.maxBatchSize(int) instead.
      • fetchSize

        public S fetchSize​(int fetchSize)
        For DB queries the fetch size is on ResultSet.setFetchSize(int). This is optional parameter, if not specified will be defaulted to TableManager#DEFAULT_FETCH_SIZE.
      • tableNamePrefix

        public S tableNamePrefix​(String tableNamePrefix)
        Sets the prefix for the name of the table where the data will be stored. "_" will be appended to this prefix in order to enforce unique table names for each cache.
      • createOnStart

        public S createOnStart​(boolean createOnStart)
        Determines whether database tables should be created by the store on startup
      • dropOnExit

        public S dropOnExit​(boolean dropOnExit)
        Determines whether database tables should be dropped by the store on shutdown
      • idColumnName

        public S idColumnName​(String idColumnName)
        The name of the database column used to store the keys
      • idColumnType

        public S idColumnType​(String idColumnType)
        The type of the database column used to store the keys
      • dataColumnName

        public S dataColumnName​(String dataColumnName)
        The name of the database column used to store the entries
      • dataColumnType

        public S dataColumnType​(String dataColumnType)
        The type of the database column used to store the entries
      • timestampColumnName

        public S timestampColumnName​(String timestampColumnName)
        The name of the database column used to store the timestamps
      • timestampColumnType

        public S timestampColumnType​(String timestampColumnType)
        The type of the database column used to store the timestamps
      • validate

        public void validate​(org.infinispan.configuration.global.GlobalConfiguration globalConfig)
        Specified by:
        validate in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • template

        public org.infinispan.configuration.cache.ConfigurationChildBuilder template​(boolean arg0)
        Specified by:
        template in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • simpleCache

        public org.infinispan.configuration.cache.ConfigurationChildBuilder simpleCache​(boolean arg0)
        Specified by:
        simpleCache in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • simpleCache

        public boolean simpleCache()
        Specified by:
        simpleCache in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • clustering

        public org.infinispan.configuration.cache.ClusteringConfigurationBuilder clustering()
        Specified by:
        clustering in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • customInterceptors

        public org.infinispan.configuration.cache.CustomInterceptorsConfigurationBuilder customInterceptors()
        Specified by:
        customInterceptors in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • dataContainer

        public org.infinispan.configuration.cache.DataContainerConfigurationBuilder dataContainer()
        Specified by:
        dataContainer in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • deadlockDetection

        public org.infinispan.configuration.cache.DeadlockDetectionConfigurationBuilder deadlockDetection()
        Specified by:
        deadlockDetection in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • encoding

        public org.infinispan.configuration.cache.EncodingConfigurationBuilder encoding()
        Specified by:
        encoding in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • eviction

        public org.infinispan.configuration.cache.EvictionConfigurationBuilder eviction()
        Specified by:
        eviction in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • expiration

        public org.infinispan.configuration.cache.ExpirationConfigurationBuilder expiration()
        Specified by:
        expiration in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • indexing

        public org.infinispan.configuration.cache.IndexingConfigurationBuilder indexing()
        Specified by:
        indexing in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • invocationBatching

        public org.infinispan.configuration.cache.InvocationBatchingConfigurationBuilder invocationBatching()
        Specified by:
        invocationBatching in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • jmxStatistics

        public org.infinispan.configuration.cache.JMXStatisticsConfigurationBuilder jmxStatistics()
        Specified by:
        jmxStatistics in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • persistence

        public org.infinispan.configuration.cache.PersistenceConfigurationBuilder persistence()
        Specified by:
        persistence in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • locking

        public org.infinispan.configuration.cache.LockingConfigurationBuilder locking()
        Specified by:
        locking in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • security

        public org.infinispan.configuration.cache.SecurityConfigurationBuilder security()
        Specified by:
        security in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • storeAsBinary

        @Deprecated
        public org.infinispan.configuration.cache.StoreAsBinaryConfigurationBuilder storeAsBinary()
        Deprecated.
        Specified by:
        storeAsBinary in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • transaction

        public org.infinispan.configuration.cache.TransactionConfigurationBuilder transaction()
        Specified by:
        transaction in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • versioning

        public org.infinispan.configuration.cache.VersioningConfigurationBuilder versioning()
        Specified by:
        versioning in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • unsafe

        public org.infinispan.configuration.cache.UnsafeConfigurationBuilder unsafe()
        Specified by:
        unsafe in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • sites

        public org.infinispan.configuration.cache.SitesConfigurationBuilder sites()
        Specified by:
        sites in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • compatibility

        public org.infinispan.configuration.cache.CompatibilityModeConfigurationBuilder compatibility()
        Specified by:
        compatibility in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • memory

        public org.infinispan.configuration.cache.MemoryConfigurationBuilder memory()
        Specified by:
        memory in interface org.infinispan.configuration.cache.ConfigurationChildBuilder
      • getBuilder

        protected org.infinispan.configuration.cache.ConfigurationBuilder getBuilder()
      • build

        public org.infinispan.configuration.cache.Configuration build()
        Specified by:
        build in interface org.infinispan.configuration.cache.ConfigurationChildBuilder