|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DropBehaviour | |
|---|---|
| org.sql.generation.api.grammar.factories | This package provides factories to create various builders and SQL syntax elements. |
| org.sql.generation.api.grammar.factories.pgsql | Package to contain PostgreSQL-specific factories enabling creating of PostgreSQL-specific syntax elements. |
| org.sql.generation.api.grammar.manipulation | This package provides syntax elements for DROP and ALTER statements. |
| Uses of DropBehaviour in org.sql.generation.api.grammar.factories |
|---|
| Methods in org.sql.generation.api.grammar.factories with parameters of type DropBehaviour | |
|---|---|
DropColumnDefinition |
ManipulationFactory.createDropColumnDefinition(String columnName,
DropBehaviour dropBehaviour)
Creates the syntax element for dropping a column definition ( DROP COLUMN) in ALTER TABLE
statement. |
DropSchemaStatement |
ManipulationFactory.createDropSchemaStatement(String schemaName,
DropBehaviour dropBehaviour)
Creates the statement to drop schema ( DROP SCHEMA ...). |
DropTableConstraintDefinition |
ManipulationFactory.createDropTableConstraintDefinition(String constraintName,
DropBehaviour dropBehaviour)
Creates the syntax element for dropping a table constraint ( DROP CONSTRAINT ...) in ALTER TABLE
statement. |
DropTableOrViewStatement |
ManipulationFactory.createDropTableOrViewStatement(TableName tableName,
ObjectType theType,
DropBehaviour dropBehaviour)
Creates the statement to drop table ( DROP TABLE ...) or view (DROP VIEW ...). |
| Uses of DropBehaviour in org.sql.generation.api.grammar.factories.pgsql |
|---|
| Methods in org.sql.generation.api.grammar.factories.pgsql with parameters of type DropBehaviour | |
|---|---|
PgSQLDropTableOrViewStatement |
PgSQLManipulationFactory.createDropTableOrViewStatement(TableName tableName,
ObjectType theType,
DropBehaviour dropBehaviour)
|
PgSQLDropTableOrViewStatement |
PgSQLManipulationFactory.createDropTableOrViewStatement(TableName tableName,
ObjectType theType,
DropBehaviour dropBehaviour,
Boolean useIfExists)
Creates DROP TABLE/VIEW statement, which may use IF EXISTS clause before the table name. |
| Uses of DropBehaviour in org.sql.generation.api.grammar.manipulation |
|---|
| Fields in org.sql.generation.api.grammar.manipulation declared as DropBehaviour | |
|---|---|
static DropBehaviour |
DropBehaviour.CASCADE
The drop behaviour which means to CASCADE the DROP through all depending elements. |
static DropBehaviour |
DropBehaviour.RESTRICT
The drop behaviour which means to RESTRICT the DROP if any elements depend on the object to be
dropped. |
| Methods in org.sql.generation.api.grammar.manipulation that return DropBehaviour | |
|---|---|
DropBehaviour |
DropBehaviourContainer.getDropBehaviour()
Returns the drop behaviour for this clause or statement. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||