Index

A B C D E F G H I L O P S T 
All Classes and Interfaces|All Packages

A

afterAll(ExtensionContext) - Method in class com.opentable.db.postgres.junit5.PreparedDbExtension
 
afterAll(ExtensionContext) - Method in class com.opentable.db.postgres.junit5.SingleInstancePostgresExtension
 
afterTestExecution(ExtensionContext) - Method in class com.opentable.db.postgres.junit5.LegacySingleInstancePostgresExtension
Deprecated.
 

B

beforeAll(ExtensionContext) - Method in class com.opentable.db.postgres.junit5.PreparedDbExtension
 
beforeAll(ExtensionContext) - Method in class com.opentable.db.postgres.junit5.SingleInstancePostgresExtension
 
beforeTestExecution(ExtensionContext) - Method in class com.opentable.db.postgres.junit5.LegacySingleInstancePostgresExtension
Deprecated.
 
BindMount - Class in com.opentable.db.postgres.embedded
 
builder() - Static method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 

C

close() - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 
com.opentable.db.postgres.embedded - package com.opentable.db.postgres.embedded
 
com.opentable.db.postgres.junit - package com.opentable.db.postgres.junit
 
com.opentable.db.postgres.junit5 - package com.opentable.db.postgres.junit5
 
ConnectionInfo - Class in com.opentable.db.postgres.embedded
Basic data holding class to hold the connection information - the url, user, and password
ConnectionInfo(String, String, String, String, int) - Constructor for class com.opentable.db.postgres.embedded.ConnectionInfo
 
createDatabase() - Method in class com.opentable.db.postgres.embedded.PreparedDbProvider
Create a new database, and return it as a JDBC connection string.
createDataSource() - Method in class com.opentable.db.postgres.embedded.PreparedDbProvider
Create a new database, and return it as a DataSource.
createDataSourceFromConnectionInfo(ConnectionInfo) - Method in class com.opentable.db.postgres.embedded.PreparedDbProvider
Create a new Datasource given DBInfo.
createNewDatabase() - Method in class com.opentable.db.postgres.embedded.PreparedDbProvider
 
customize(Consumer<EmbeddedPostgres.Builder>) - Method in class com.opentable.db.postgres.junit.PreparedDbRule
 
customize(Consumer<EmbeddedPostgres.Builder>) - Method in class com.opentable.db.postgres.junit.SingleInstancePostgresRule
 
customize(Consumer<EmbeddedPostgres.Builder>) - Method in class com.opentable.db.postgres.junit5.LegacySingleInstancePostgresExtension
Deprecated.
 
customize(Consumer<EmbeddedPostgres.Builder>) - Method in class com.opentable.db.postgres.junit5.PreparedDbExtension
 
customize(Consumer<EmbeddedPostgres.Builder>) - Method in class com.opentable.db.postgres.junit5.SingleInstancePostgresExtension
 

D

DatabaseConnectionPreparer - Interface in com.opentable.db.postgres.embedded
Provides a default implementation of the DatabasePreparer, and adds a method
DatabasePreparer - Interface in com.opentable.db.postgres.embedded
A DatabasePreparer applies an arbitrary set of changes (e.g.

E

EmbeddedPostgres - Class in com.opentable.db.postgres.embedded
Core class of the library, providing a builder (with reasonable defaults) to wrap testcontainers and launch postgres container.
EmbeddedPostgres.Builder - Class in com.opentable.db.postgres.embedded
 
EmbeddedPostgresExtension - Class in com.opentable.db.postgres.junit5
 
EmbeddedPostgresRules - Class in com.opentable.db.postgres.junit
 
equals(Object) - Method in class com.opentable.db.postgres.embedded.BindMount
 
equals(Object) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder
 
equals(Object) - Method in class com.opentable.db.postgres.embedded.FlywayPreparer
 
equals(Object) - Method in class com.opentable.db.postgres.embedded.LiquibasePreparer
 
error(SQLException) - Static method in class com.opentable.db.postgres.embedded.PreparedDbProvider.DbInfo
 

F

FlywayPreparer - Class in com.opentable.db.postgres.embedded
Support for integrating Flyway and performing a DB migration as part of the setup process.
forClasspathLocation(String) - Static method in class com.opentable.db.postgres.embedded.LiquibasePreparer
 
forClasspathLocation(String...) - Static method in class com.opentable.db.postgres.embedded.FlywayPreparer
 
forClasspathLocation(String, Contexts) - Static method in class com.opentable.db.postgres.embedded.LiquibasePreparer
 
forClasspathLocation(Map<String, String>, String...) - Static method in class com.opentable.db.postgres.embedded.FlywayPreparer
 
forPreparer(DatabasePreparer) - Static method in class com.opentable.db.postgres.embedded.PreparedDbProvider
 
forPreparer(DatabasePreparer, Iterable<Consumer<EmbeddedPostgres.Builder>>) - Static method in class com.opentable.db.postgres.embedded.PreparedDbProvider
 

G

getBindMode() - Method in class com.opentable.db.postgres.embedded.BindMount
 
getConfigurationTweak(String) - Method in class com.opentable.db.postgres.embedded.PreparedDbProvider
Return configuration tweaks in a format appropriate for otj-jdbc DatabaseModule.
getConnectionInfo() - Method in class com.opentable.db.postgres.junit.PreparedDbRule
 
getConnectionInfo() - Method in class com.opentable.db.postgres.junit5.PreparedDbExtension
 
getDatabase(String, String) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 
getDatabase(String, String, Map<String, String>) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 
getDbProvider() - Method in class com.opentable.db.postgres.junit.PreparedDbRule
 
getDbProvider() - Method in class com.opentable.db.postgres.junit5.PreparedDbExtension
 
getEmbeddedPostgres() - Method in class com.opentable.db.postgres.junit.SingleInstancePostgresRule
 
getEmbeddedPostgres() - Method in class com.opentable.db.postgres.junit5.LegacySingleInstancePostgresExtension
Deprecated.
 
getEmbeddedPostgres() - Method in class com.opentable.db.postgres.junit5.SingleInstancePostgresExtension
 
getException() - Method in class com.opentable.db.postgres.embedded.PreparedDbProvider.DbInfo
 
getHost() - Method in class com.opentable.db.postgres.embedded.ConnectionInfo
Use sparingly! Prefer getUrl as a general rule over composition using getHost and getPort
getHost() - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 
getHost() - Method in class com.opentable.db.postgres.embedded.PreparedDbProvider.DbInfo
 
getJdbcUrl(String) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
Returns JDBC connection string for specified database
getLocalFile() - Method in class com.opentable.db.postgres.embedded.BindMount
 
getLocations() - Method in class com.opentable.db.postgres.embedded.FlywayPreparer
 
getPassword() - Method in class com.opentable.db.postgres.embedded.ConnectionInfo
 
getPassword() - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 
getPassword() - Method in class com.opentable.db.postgres.embedded.PreparedDbProvider.DbInfo
 
getPort() - Method in class com.opentable.db.postgres.embedded.ConnectionInfo
Use sparingly! Prefer getUrl as a general rule over composition using getHost and getPort
getPort() - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 
getPort() - Method in class com.opentable.db.postgres.embedded.PreparedDbProvider.DbInfo
 
getPostgresDatabase() - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 
getPostgresDatabase(Map<String, String>) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 
getRemoteFile() - Method in class com.opentable.db.postgres.embedded.BindMount
 
getTemplateDatabase() - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 
getTemplateDatabase(Map<String, String>) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 
getTestDatabase() - Method in class com.opentable.db.postgres.junit.PreparedDbRule
 
getTestDatabase() - Method in class com.opentable.db.postgres.junit5.PreparedDbExtension
 
getUrl() - Method in class com.opentable.db.postgres.embedded.ConnectionInfo
 
getUrl() - Method in class com.opentable.db.postgres.embedded.PreparedDbProvider.DbInfo
 
getUser() - Method in class com.opentable.db.postgres.embedded.ConnectionInfo
 
getUser() - Method in class com.opentable.db.postgres.embedded.PreparedDbProvider.DbInfo
 
getUserName() - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 

H

hashCode() - Method in class com.opentable.db.postgres.embedded.BindMount
 
hashCode() - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder
 
hashCode() - Method in class com.opentable.db.postgres.embedded.FlywayPreparer
 
hashCode() - Method in class com.opentable.db.postgres.embedded.LiquibasePreparer
 

I

isSuccess() - Method in class com.opentable.db.postgres.embedded.PreparedDbProvider.DbInfo
 

L

LegacySingleInstancePostgresExtension - Class in com.opentable.db.postgres.junit5
Deprecated.
LegacySingleInstancePostgresExtension() - Constructor for class com.opentable.db.postgres.junit5.LegacySingleInstancePostgresExtension
Deprecated.
 
LiquibasePreparer - Class in com.opentable.db.postgres.embedded
Support for integrating Liquibase and performing a DB migration as part of the setup process.

O

of(String, String, BindMode) - Static method in class com.opentable.db.postgres.embedded.BindMount
 
ok(String, String, String, String, int) - Static method in class com.opentable.db.postgres.embedded.PreparedDbProvider.DbInfo
 

P

prepare(Connection) - Method in interface com.opentable.db.postgres.embedded.DatabaseConnectionPreparer
 
prepare(DataSource) - Method in interface com.opentable.db.postgres.embedded.DatabaseConnectionPreparer
 
prepare(DataSource) - Method in interface com.opentable.db.postgres.embedded.DatabasePreparer
 
prepare(DataSource) - Method in class com.opentable.db.postgres.embedded.FlywayPreparer
 
prepare(DataSource) - Method in class com.opentable.db.postgres.embedded.LiquibasePreparer
 
preparedDatabase(DatabasePreparer) - Static method in class com.opentable.db.postgres.junit.EmbeddedPostgresRules
Returns a PreparedDbRule to create a Postgres cluster, shared amongst all test cases in this JVM.
preparedDatabase(DatabasePreparer) - Static method in class com.opentable.db.postgres.junit5.EmbeddedPostgresExtension
Returns a PreparedDbExtension to create a Postgres cluster, shared amongst all test cases in this JVM.
PreparedDbExtension - Class in com.opentable.db.postgres.junit5
 
PreparedDbProvider - Class in com.opentable.db.postgres.embedded
 
PreparedDbProvider.DbInfo - Class in com.opentable.db.postgres.embedded
 
PreparedDbRule - Class in com.opentable.db.postgres.junit
 

S

setBindMount(BindMount) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder
Set up a bind mount between the local file system and the remote
setBindMount(String, String) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder
Set up a readonly bind mount.
setDatabaseName(String) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder
Override the default databaseName of postgres
setImage(DockerImageName) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder
Set a default image.
setLocaleConfig(String, String) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder
Set up arguments to initDB process
setNetwork(Network, String) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder
Set up a shared network and the alias.
setPGStartupWait(Duration) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder
Override the default startup wait for the container to start and be ready
setServerConfig(String, String) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder
Arguments passed to the postgres process itself
setTag(String) - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder
Add the tag to an existing image
singleInstance() - Static method in class com.opentable.db.postgres.junit.EmbeddedPostgresRules
Create a vanilla Postgres cluster -- just initialized, no customizations applied.
singleInstance() - Static method in class com.opentable.db.postgres.junit5.EmbeddedPostgresExtension
Create a vanilla Postgres cluster -- just initialized, no customizations applied.
SingleInstancePostgresExtension - Class in com.opentable.db.postgres.junit5
 
SingleInstancePostgresRule - Class in com.opentable.db.postgres.junit
 
start() - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres.Builder
 
start() - Static method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 

T

toString() - Method in class com.opentable.db.postgres.embedded.BindMount
 
toString() - Method in class com.opentable.db.postgres.embedded.EmbeddedPostgres
 
A B C D E F G H I L O P S T 
All Classes and Interfaces|All Packages