Class PostgreSQLType
- java.lang.Object
-
- migratedb.core.internal.database.base.BaseSchemaObject<D,S>
-
- migratedb.core.internal.database.base.Type<PostgreSQLDatabase,PostgreSQLSchema>
-
- migratedb.core.internal.database.postgresql.PostgreSQLType
-
- All Implemented Interfaces:
SchemaObject<PostgreSQLDatabase,PostgreSQLSchema>
public class PostgreSQLType extends Type<PostgreSQLDatabase,PostgreSQLSchema>
PostgreSQL-specific type.
-
-
Field Summary
-
Fields inherited from class migratedb.core.internal.database.base.BaseSchemaObject
database, jdbcTemplate, name, schema
-
-
Constructor Summary
Constructors Constructor Description PostgreSQLType(JdbcTemplate jdbcTemplate, PostgreSQLDatabase database, PostgreSQLSchema schema, String name)Creates a new PostgreSQL type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoDrop()-
Methods inherited from class migratedb.core.internal.database.base.BaseSchemaObject
drop, getDatabase, getName, getSchema, toString
-
-
-
-
Constructor Detail
-
PostgreSQLType
public PostgreSQLType(JdbcTemplate jdbcTemplate, PostgreSQLDatabase database, PostgreSQLSchema schema, String name)
Creates a new PostgreSQL type.- Parameters:
jdbcTemplate- The Jdbc Template for communicating with the DB.database- The database-specific support.schema- The schema this type lives in.name- The name of the type.
-
-
Method Detail
-
doDrop
protected void doDrop() throws SQLException- Specified by:
doDropin classBaseSchemaObject<PostgreSQLDatabase,PostgreSQLSchema>- Throws:
SQLException- when the drop failed.
-
-