Class RedshiftType
java.lang.Object
migratedb.v1.core.internal.database.base.BaseSchemaObject<D,S>
migratedb.v1.core.internal.database.base.Type<RedshiftDatabase,RedshiftSchema>
migratedb.v1.core.internal.database.redshift.RedshiftType
- All Implemented Interfaces:
SchemaObject<RedshiftDatabase,RedshiftSchema>
PostgreSQL-specific type.
-
Field Summary
Fields inherited from class migratedb.v1.core.internal.database.base.BaseSchemaObject
database, jdbcTemplate, name, schema -
Constructor Summary
ConstructorsConstructorDescriptionRedshiftType(JdbcTemplate jdbcTemplate, RedshiftDatabase database, RedshiftSchema schema, String name) Creates a new PostgreSQL type. -
Method Summary
Methods inherited from class migratedb.v1.core.internal.database.base.BaseSchemaObject
drop, getDatabase, getName, getSchema, toString
-
Constructor Details
-
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 Details
-
doDrop
- Specified by:
doDropin classBaseSchemaObject<RedshiftDatabase,RedshiftSchema> - Throws:
SQLException- when the drop failed.
-