Package org.flywaydb.database.postgresql
Class PostgreSQLTable
java.lang.Object
org.flywaydb.core.internal.database.base.SchemaObject<D,S>
org.flywaydb.core.internal.database.base.Table<PostgreSQLDatabase,PostgreSQLSchema>
org.flywaydb.database.postgresql.PostgreSQLTable
public class PostgreSQLTable
extends org.flywaydb.core.internal.database.base.Table<PostgreSQLDatabase,PostgreSQLSchema>
PostgreSQL-specific table.
-
Field Summary
Fields inherited from class org.flywaydb.core.internal.database.base.Table
lockDepth
Fields inherited from class org.flywaydb.core.internal.database.base.SchemaObject
database, jdbcTemplate, name, schema
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PostgreSQLTable
(org.flywaydb.core.internal.jdbc.JdbcTemplate jdbcTemplate, PostgreSQLDatabase database, PostgreSQLSchema schema, String name) Creates a new PostgreSQL table. -
Method Summary
Methods inherited from class org.flywaydb.core.internal.database.base.Table
doUnlock, exists, exists, lock, unlock
Methods inherited from class org.flywaydb.core.internal.database.base.SchemaObject
drop, getDatabase, getName, getSchema, toString
-
Constructor Details
-
PostgreSQLTable
protected PostgreSQLTable(org.flywaydb.core.internal.jdbc.JdbcTemplate jdbcTemplate, PostgreSQLDatabase database, PostgreSQLSchema schema, String name) Creates a new PostgreSQL table.- Parameters:
jdbcTemplate
- The Jdbc Template for communicating with the DB.database
- The database-specific support.schema
- The schema this table lives in.name
- The name of the table.
-
-
Method Details
-
doDrop
- Specified by:
doDrop
in classorg.flywaydb.core.internal.database.base.SchemaObject<PostgreSQLDatabase,
PostgreSQLSchema> - Throws:
SQLException
-
doExists
- Specified by:
doExists
in classorg.flywaydb.core.internal.database.base.Table<PostgreSQLDatabase,
PostgreSQLSchema> - Throws:
SQLException
-
doLock
- Specified by:
doLock
in classorg.flywaydb.core.internal.database.base.Table<PostgreSQLDatabase,
PostgreSQLSchema> - Throws:
SQLException
-