Interface ContainerBuilderDb<C,SELF extends ContainerBuilderDb<C,SELF>>

All Superinterfaces:
ContainerBuilder<C,SELF>
All Known Implementing Classes:
ClickHouseContainer.Builder, CockroachContainer.Builder, Db2Container.Builder, HanaContainer.Builder, MariaDBContainer.Builder, MySqlContainer.Builder, NuoDBContainer.Builder, OracleContainer.Builder, PostgisContainer.Builder, PostgresContainer.Builder, SqlServerContainer.Builder, YugabyteContainer.Builder

public interface ContainerBuilderDb<C,SELF extends ContainerBuilderDb<C,SELF>> extends ContainerBuilder<C,SELF>
Builder for DB containers.
  • Method Details

    • adminUser

      SELF adminUser(String dbAdminUser)
      Set the database admin user.
    • adminPassword

      SELF adminPassword(String adminPassword)
      Set the password for the database admin user.
    • tmpfs

      SELF tmpfs(String tmpfs)
      Set the Temp file system to use.
    • dbName

      SELF dbName(String dbName)
      Set the database name. Defaults to test_db.
    • user

      SELF user(String user)
      Set the database user.
    • password

      SELF password(String password)
      Set the database password.
    • schema

      SELF schema(String schema)
      Set the database schema.
    • characterSet

      SELF characterSet(String characterSet)
      Set the character set.
    • collation

      SELF collation(String collation)
      Set the Collation.
    • extensions

      SELF extensions(String extensions)
      Set the database extensions to use.
    • initSqlFile

      SELF initSqlFile(String initSqlFile)
      Set the init sql file to execute.
    • seedSqlFile

      SELF seedSqlFile(String seedSqlFile)
      Set the seed sql file to execute.
    • extraDb

      SELF extraDb(String extraDb)
      Set an extra database to create.
    • extraDbUser

      SELF extraDbUser(String extraDbUser)
      Set extra database user.
    • extraDbPassword

      SELF extraDbPassword(String extraDbPassword)
      Set extra database users password.
    • extraDbExtensions

      SELF extraDbExtensions(String extraDbExtensions)
      Set extra database extensions.
    • extraDbInitSqlFile

      SELF extraDbInitSqlFile(String extraDbInitSqlFile)
      Set extra database init sql file to execute.
    • extraDbSeedSqlFile

      SELF extraDbSeedSqlFile(String extraDbSeedSqlFile)
      Set extra database seed sql file to execute.
    • inMemory

      SELF inMemory(boolean inMemory)
      Set to true to use in-memory database if supported.
    • fastStartMode

      SELF fastStartMode(boolean fastStartMode)
      Set fast start mode.