| Package | Description |
|---|---|
| org.sql.generation.api.grammar.builders.definition |
This is package containing builders for syntax elements used in SQL Data Definition statements (typically
CREATE statements). |
| org.sql.generation.api.grammar.builders.modification |
Package to hold builders common for SQL modification clauses (
INSERT, UPDATE, and DELETE). |
| org.sql.generation.api.grammar.definition.table |
This package contains syntax interfaces for
CREATE TABLE statement. |
| org.sql.generation.api.grammar.definition.view |
This package contains syntax interfaces required for
CREATE VIEW statement. |
| 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. |
| org.sql.generation.api.grammar.modification |
This package contains syntax elements relevant to SQL modification clauses (
INSERT INTO, DELETE FROM, and UPDATE). |
| Modifier and Type | Method and Description |
|---|---|
TableNameDirect |
TableDefinitionBuilder.getTableName()
Returns the name for this table.
|
TableNameDirect |
ForeignKeyConstraintBuilder.getTableName()
Returns the target table name for this foreign key constraint.
|
TableNameDirect |
ViewDefinitionBuilder.getViewName()
Returns the name of the view.
|
| Modifier and Type | Method and Description |
|---|---|
TableDefinitionBuilder |
TableDefinitionBuilder.setTableName(TableNameDirect tableName)
Sets the name for this table.
|
ForeignKeyConstraintBuilder |
ForeignKeyConstraintBuilder.setTargetTableName(TableNameDirect tableName)
Sets the target table name for this foreign key constraint.
|
ViewDefinitionBuilder |
ViewDefinitionBuilder.setViewName(TableNameDirect viewName)
Sets the name for this view.
|
| Modifier and Type | Method and Description |
|---|---|
TableNameDirect |
InsertStatementBuilder.getTableName()
Returns the table name for this
INSERT statement. |
| Modifier and Type | Method and Description |
|---|---|
InsertStatementBuilder |
InsertStatementBuilder.setTableName(TableNameDirect tableName)
Sets the table name for this
INSERT statement. |
| Modifier and Type | Method and Description |
|---|---|
TableNameDirect |
TableDefinition.getTableName()
Returns the name for this table.
|
TableNameDirect |
LikeClause.getTableName()
Returns the name of the table for this
LIKE clause. |
TableNameDirect |
ForeignKeyConstraint.getTargetTableName()
Returns the name of the table where the columns in this table are referencing to.
|
| Modifier and Type | Method and Description |
|---|---|
TableNameDirect |
ViewDefinition.getViewName()
Returns the name of this view.
|
| Modifier and Type | Method and Description |
|---|---|
TableNameDirect |
TableReferenceFactory.tableName(String tableName)
Creates a new table name, which isn't schema-qualified.
|
TableNameDirect |
TableReferenceFactory.tableName(String schemaName,
String tableName)
Creates a new table name.
|
| Modifier and Type | Method and Description |
|---|---|
AlterTableStatement |
ManipulationFactory.createAlterTableStatement(TableNameDirect tableName,
AlterTableAction action)
Creates the
ALTER TABLE statement with specified parameter. |
DropTableOrViewStatement |
ManipulationFactory.createDropTableOrViewStatement(TableNameDirect tableName,
ObjectType theType,
DropBehaviour dropBehaviour)
Creates the statement to drop table (
DROP TABLE ...) or view (DROP VIEW ...). |
LikeClause |
DefinitionFactory.createLikeClause(TableNameDirect tableName)
Creates a new
LIKE
<table name> clause for CREATE TABLE statement. |
TargetTable |
ModificationFactory.createTargetTable(TableNameDirect tableName)
Creates new target table to use in modification statements.
|
TargetTable |
ModificationFactory.createTargetTable(TableNameDirect tableName,
Boolean isOnly)
Creates new target table to use in modification statements.
|
| Modifier and Type | Method and Description |
|---|---|
PgSQLDropTableOrViewStatement |
PgSQLManipulationFactory.createDropTableOrViewStatement(TableNameDirect tableName,
ObjectType theType,
DropBehaviour dropBehaviour) |
PgSQLDropTableOrViewStatement |
PgSQLManipulationFactory.createDropTableOrViewStatement(TableNameDirect tableName,
ObjectType theType,
DropBehaviour dropBehaviour,
Boolean useIfExists)
Creates
DROP TABLE/VIEW statement, which may use IF EXISTS clause before the table name. |
| Modifier and Type | Method and Description |
|---|---|
TableNameDirect |
DropTableOrViewStatement.getTableName()
Returns the name of the table or view to be deleted.
|
TableNameDirect |
AlterTableStatement.getTableName()
Returns the name of the table to be altered.
|
| Modifier and Type | Method and Description |
|---|---|
TableNameDirect |
TargetTable.getTableName()
Returns the table name of the target table.
|
TableNameDirect |
InsertStatement.getTableName()
Returns the table name where to insert.
|
Copyright © 2010-2012. All Rights Reserved.