Package org.flywaydb.database.postgresql
Class PostgreSQLSchema
java.lang.Object
org.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,PostgreSQLTable>
org.flywaydb.database.postgresql.PostgreSQLSchema
public class PostgreSQLSchema
extends org.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,PostgreSQLTable>
PostgreSQL implementation of Schema.
-
Field Summary
Fields inherited from class org.flywaydb.core.internal.database.base.Schema
database, jdbcTemplate, name -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPostgreSQLSchema(org.flywaydb.core.internal.jdbc.JdbcTemplate jdbcTemplate, PostgreSQLDatabase database, String name) Creates a new PostgreSQL schema. -
Method Summary
Methods inherited from class org.flywaydb.core.internal.database.base.Schema
allFunctions, allTables, allTypes, clean, create, doAllFunctions, drop, empty, equals, exists, getFunction, getName, hashCode, toString
-
Constructor Details
-
PostgreSQLSchema
protected PostgreSQLSchema(org.flywaydb.core.internal.jdbc.JdbcTemplate jdbcTemplate, PostgreSQLDatabase database, String name) Creates a new PostgreSQL schema.- Parameters:
jdbcTemplate- The Jdbc Template for communicating with the DB.database- The database-specific support.name- The name of the schema.
-
-
Method Details
-
doExists
- Specified by:
doExistsin classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,PostgreSQLTable> - Throws:
SQLException
-
doEmpty
- Specified by:
doEmptyin classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,PostgreSQLTable> - Throws:
SQLException
-
doCreate
- Specified by:
doCreatein classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,PostgreSQLTable> - Throws:
SQLException
-
doDrop
- Specified by:
doDropin classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,PostgreSQLTable> - Throws:
SQLException
-
doClean
- Specified by:
doCleanin classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,PostgreSQLTable> - Throws:
SQLException
-
doAllTables
- Specified by:
doAllTablesin classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,PostgreSQLTable> - Throws:
SQLException
-
getTable
- Specified by:
getTablein classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,PostgreSQLTable>
-
getType
- Overrides:
getTypein classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,PostgreSQLTable>
-