public interface PgSQLManipulationFactory extends ManipulationFactory
| Modifier and Type | Method and Description |
|---|---|
PgSQLDropTableOrViewStatement |
createDropTableOrViewStatement(TableNameDirect tableName,
ObjectType theType,
DropBehaviour dropBehaviour)
Creates the statement to drop table (
DROP TABLE ...) or view (DROP VIEW ...). |
PgSQLDropTableOrViewStatement |
createDropTableOrViewStatement(TableNameDirect tableName,
ObjectType theType,
DropBehaviour dropBehaviour,
Boolean useIfExists)
Creates
DROP TABLE/VIEW statement, which may use IF EXISTS clause before the table name. |
createAddColumnDefinition, createAddTableConstraintDefinition, createAlterColumnDefinition, createAlterTableStatement, createDropColumnDefinition, createDropSchemaStatement, createDropTableConstraintDefinition, createSetColumnDefaultPgSQLDropTableOrViewStatement createDropTableOrViewStatement(TableNameDirect tableName, ObjectType theType, DropBehaviour dropBehaviour)
ManipulationFactoryDROP TABLE ...) or view (DROP VIEW ...).createDropTableOrViewStatement in interface ManipulationFactorytableName - The name of the table or view to drop.theType - What to drop. Must be either ObjectType.TABLE for tables or ObjectType.VIEW for
views.dropBehaviour - The drop behaviour.DROP TABLE ...) or view (DROP VIEW ...).DropBehaviour,
ObjectTypePgSQLDropTableOrViewStatement createDropTableOrViewStatement(TableNameDirect tableName, ObjectType theType, DropBehaviour dropBehaviour, Boolean useIfExists)
DROP TABLE/VIEW statement, which may use IF EXISTS clause before the table name.tableName - The name of the table/view to drop.theType - What to drop - ObjectType.TABLE or ObjectType.VIEW.dropBehaviour - Drop behaviour - DropBehaviour.CASCADE or DropBehaviour.RESTRICT.useIfExists - true to append IF EXISTS before table/view name, false otherwise.DROP TABLE/VIEW statement.Copyright © 2010-2012. All Rights Reserved.