A B C D F G J P T W 
All Classes All Packages

A

allTableNames() - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
List all tables in schema public

B

build() - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource.Builder
Build a DataSource
builder() - Static method in class dk.kosmisk.postgresql.it.PostgresITDataSource
Construct a default builder
Builder() - Constructor for class dk.kosmisk.postgresql.it.PostgresITDataSource.Builder
 

C

copyAllTablesFromDisk() - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
copyAllTablesToDisk() - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
copyTablesFromDisk(String...) - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
copyTablesFromDisk(Collection<String>) - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
Ask the database to copy all the content backup files into the tables
copyTablesToDisk(String...) - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
copyTablesToDisk(Collection<String>) - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
Ask the database to copy all the content of listed tables to disk

D

DatabaseFromEnvironment(String) - Constructor for class dk.kosmisk.postgresql.it.PostgresITDataSource.DatabaseFromEnvironment
Look for an environment variable with a database uri
DatabaseFromProperty(String) - Constructor for class dk.kosmisk.postgresql.it.PostgresITDataSource.DatabaseFromProperty
Convenience constructor for DatabaseFromProperty(String, String)
DatabaseFromProperty(String, String) - Constructor for class dk.kosmisk.postgresql.it.PostgresITDataSource.DatabaseFromProperty
Look for database in properties
dk.kosmisk.postgresql.it - package dk.kosmisk.postgresql.it
 

F

fromEnvironment(String) - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource.Builder
Search environment variable for database location
fromProperty(String) - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource.Builder
Set database name, take port from postgresql.${name}.port property
fromProperty(String, String) - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource.Builder
Set database name and port property

G

getConnection() - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
 
getConnection(String, String) - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
 

J

jdbcUrl(Properties) - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource.DatabaseFromEnvironment
 
jdbcUrl(Properties) - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource.DatabaseFromProperty
 
jdbcUrl(Properties) - Method in interface dk.kosmisk.postgresql.it.PostgresITDataSource.DatabaseLocation
Construct a jdbc url Locate a database, and fill out user/password If a database cannot be located then return null, and do not set any user/password values

P

PostgresITDataSource - Class in dk.kosmisk.postgresql.it
A pooling datasource for integration testing with PostgreSQL
PostgresITDataSource(PostgresITDataSource.DatabaseLocation) - Constructor for class dk.kosmisk.postgresql.it.PostgresITDataSource
Construct a PostgreSQL datasource from the first available location
PostgresITDataSource(String) - Constructor for class dk.kosmisk.postgresql.it.PostgresITDataSource
Construct a PostgreSQL datasource from the system properties or fall back to system database
PostgresITDataSource(String, String) - Constructor for class dk.kosmisk.postgresql.it.PostgresITDataSource
Construct a PostgreSQL datasource from the system properties or fall back to system database
PostgresITDataSource(List<PostgresITDataSource.DatabaseLocation>, boolean) - Constructor for class dk.kosmisk.postgresql.it.PostgresITDataSource
Construct a PostgreSQL datasource from the first available location
PostgresITDataSource.Builder - Class in dk.kosmisk.postgresql.it
Builder pattern for a PostgresITDataSource
PostgresITDataSource.DatabaseFromEnvironment - Class in dk.kosmisk.postgresql.it
Construct a PostgresITDataSource.DatabaseLocation from an environment variable
PostgresITDataSource.DatabaseFromProperty - Class in dk.kosmisk.postgresql.it
Database location from System Property, with user/password from ${user.name}
PostgresITDataSource.DatabaseLocation - Interface in dk.kosmisk.postgresql.it
Interface describing a way to locate a database

T

truncateAllTables() - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
truncateTables(String...) - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
truncateTables(Collection<String>) - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
Truncate database tables

W

wipe() - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource
Drop and create public schema.
withFallback() - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource.Builder
Allow use of $PG* environment variables for database discovery user is $PGUSER or ${user.name} password is $PGPASSWORD or ${user.name} host is $PGHOST or 127.0.0.1 port is $PGPORT or 5432 database is $PGDATABASE or ${user.name}
withoutFallback() - Method in class dk.kosmisk.postgresql.it.PostgresITDataSource.Builder
Disallow fallback definition
A B C D F G J P T W 
All Classes All Packages