Class RedshiftType
- java.lang.Object
-
- migratedb.core.internal.database.base.BaseSchemaObject<D,S>
-
- migratedb.core.internal.database.base.Type<RedshiftDatabase,RedshiftSchema>
-
- migratedb.core.internal.database.redshift.RedshiftType
-
- All Implemented Interfaces:
SchemaObject<RedshiftDatabase,RedshiftSchema>
public class RedshiftType extends Type<RedshiftDatabase,RedshiftSchema>
PostgreSQL-specific type.
-
-
Field Summary
-
Fields inherited from class migratedb.core.internal.database.base.BaseSchemaObject
database, jdbcTemplate, name, schema
-
-
Constructor Summary
Constructors Constructor Description RedshiftType(JdbcTemplate jdbcTemplate, RedshiftDatabase database, RedshiftSchema 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
-
RedshiftType
public RedshiftType(JdbcTemplate jdbcTemplate, RedshiftDatabase database, RedshiftSchema 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<RedshiftDatabase,RedshiftSchema>- Throws:
SQLException- when the drop failed.
-
-