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
ConstructorsModifierConstructorDescriptionprotected
PostgreSQLSchema
(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:
doExists
in classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,
PostgreSQLTable> - Throws:
SQLException
-
doEmpty
- Specified by:
doEmpty
in classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,
PostgreSQLTable> - Throws:
SQLException
-
doCreate
- Specified by:
doCreate
in classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,
PostgreSQLTable> - Throws:
SQLException
-
doDrop
- Specified by:
doDrop
in classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,
PostgreSQLTable> - Throws:
SQLException
-
doClean
- Specified by:
doClean
in classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,
PostgreSQLTable> - Throws:
SQLException
-
doAllTables
- Specified by:
doAllTables
in classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,
PostgreSQLTable> - Throws:
SQLException
-
getTable
- Specified by:
getTable
in classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,
PostgreSQLTable>
-
getType
- Overrides:
getType
in classorg.flywaydb.core.internal.database.base.Schema<PostgreSQLDatabase,
PostgreSQLTable>
-